-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.yml
307 lines (277 loc) · 8.91 KB
/
_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: liuyanjie's blog
subtitle:
description: KISS DRY
keywords: 个人博客,技术分享,前端,后端,容器,架构
author: liuyanjie
language: zh-CN
timezone: Asia/Shanghai
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: https://blog.butonly.com/
root: /
# permalink: :year/:month/:day/:title/
permalink: posts/:title/
permalink_defaults:
# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render: README.md
# Writing
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link.enable: true # Open external links in new tab
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
enable: true
line_number: true
auto_detect: true
tab_replace:
# Home page setting
# path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
path: ''
per_page: 5
order_by: -date
feed:
type: atom
path: atom.xml
limit: 20
hub:
content:
content_limit:
content_limit_delim: ' '
# Category & Tag
default_category: uncategorized
category_map:
tag_map:
# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
# Pagination
## Set per_page to 0 to disable pagination
per_page: 5
pagination_dir: page
# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type: git
# repo: [email protected]:butonly/butonly.github.io.git
repo: https://github.com/butonly/butonly.github.io.git
branch: master
token: $GITHUB_TOKEN
# message: [message]
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: next
stylus:
compress: true
# $ export HEXO_ALGOLIA_INDEXING_KEY=459ace1d7f5aabfa15b4f89baba340b3 # Use Git Bash
# $ hexo clean
# $ hexo algolia
algolia:
applicationID: FRAAR0AUP0
apiKey: 459ace1d7f5aabfa15b4f89baba340b3
indexName: blog.butonly.com
chunkSize: 5000
theme_config:
# ---------------------------------------------------------------
# Theme Core Configuration Settings
# See: https://theme-next.js.org/docs/theme-settings/
# ---------------------------------------------------------------
minify: true
scheme: Gemini
darkmode: true
# ---------------------------------------------------------------
# Site Information Settings
# ---------------------------------------------------------------
favicon:
small: /favicon.png
medium: /favicon.png
apple_touch_icon: /favicon.png
safari_pinned_tab: /favicon.png
android_manifest: /manifest.json
ms_browserconfig: /browserconfig.xml
custom_logo: logo.png
creative_commons:
license: by-nc-sa
sidebar: true
post: true
# ---------------------------------------------------------------
# Menu Settings
# ---------------------------------------------------------------
menu:
home: / || home
archives: /archives/ || archive
categories: /categories/ || th
tags: /tags/ || tags
about: /about/ || user
menu_settings:
icons: true
badges: true
# ---------------------------------------------------------------
# Sidebar Settings
# ---------------------------------------------------------------
sidebar:
display: always
avatar:
url: avatar.png
opacity: 0.8
rounded: true
rotated: true
social:
GitHub: https://github.com/liuyanjie || github
E-Mail: [email protected] || envelope
social_icons:
enable: true
icons_only: true
transition: true
# links:
# Title: http://example.com
# ---------------------------------------------------------------
# Footer Settings
# See: https://theme-next.js.org/docs/theme-settings/footer
# ---------------------------------------------------------------
footer:
since: 2018
icon:
name: heartbeat
animated: true
color: "#ff0000"
copyright:
powered: true
beian:
enable: false
# ---------------------------------------------------------------
# Post Settings
# ---------------------------------------------------------------
# ---------------------------------------------------------------
# Custom Page Settings
# See: https://theme-next.js.org/docs/theme-settings/custom-pages
# ---------------------------------------------------------------
# ---------------------------------------------------------------
# Misc Theme Settings
# See: https://theme-next.js.org/docs/theme-settings/miscellaneous
# ---------------------------------------------------------------
preconnect: true
reading_progress:
enable: true
bookmark:
enable: true
github_banner:
enable: true
permalink: https://github.com/butonly
title: Follow me on GitHub
# ---------------------------------------------------------------
# Font Settings
# ---------------------------------------------------------------
# Find fonts on Google Fonts (https://fonts.google.com)
# All fonts set here will have the following styles:
# light | light italic | normal | normal italic | bold | bold italic
# Be aware that setting too much fonts will cause site running slowly
# ---------------------------------------------------------------
# Web Safe fonts are recommended for `global` (and `title`):
# Arial | Tahoma | Helvetica | Times New Roman | Courier New | Verdana | Georgia | Palatino | Garamond | Comic Sans MS | Trebuchet MS
# ---------------------------------------------------------------
font:
enable: false
# ---------------------------------------------------------------
# SEO Settings
# See: https://theme-next.js.org/docs/theme-settings/seo
# ---------------------------------------------------------------
index_with_subtitle: true
exturl: false
exturl_icon: true
# ---------------------------------------------------------------
# Third Party Plugins & Services Settings
# See: https://theme-next.js.org/docs/third-party-services/
# More plugins: https://github.com/next-theme/awesome-next
# You may need to install the corresponding dependency packages
# ---------------------------------------------------------------
fancybox: true
lazyload: true
pangu: true
# ---------------------------------------------------------------
# Comments Settings
# See: https://theme-next.js.org/docs/third-party-services/comments
# ---------------------------------------------------------------
disqus:
enable: true
shortname: liuyanjie
count: true
lazyload: true
# ---------------------------------------------------------------
# Post Widgets & Content Sharing Services
# See: https://theme-next.js.org/docs/third-party-services/post-widgets
# ---------------------------------------------------------------
# ---------------------------------------------------------------
# Statistics and Analytics
# See: https://theme-next.js.org/docs/third-party-services/statistics-and-analytics
# ---------------------------------------------------------------
google_analytics:
tracking_id: 014348069229275019795:-z92dm0sjiy
only_pageview: false
baidu_analytics: 4cd57e104d0d9f5862dd91d0acdb9eee
leancloud_visitors:
enable: false
app_id: yMJOxcMESfcKPsRm4QDdQuHB-gzGzoHsz
app_key: qptX398Lv6Lujt1QSSlDA78B
firestore:
enable: false
collection: articles
apiKey: AIzaSyDgS8GXPvVxTQ_R2PPMJB3GYmC5fEGFkeI
projectId: blog-25ee2
bluebird: false
# ---------------------------------------------------------------
# Search Services
# See: https://theme-next.js.org/docs/third-party-services/search-services
# ---------------------------------------------------------------
algolia_search:
enable: true
local_search:
enable: false
# ---------------------------------------------------------------
# Chat Services
# See: https://theme-next.js.org/docs/third-party-services/chat-services
# ---------------------------------------------------------------
# ---------------------------------------------------------------
# Tags Settings
# See: https://theme-next.js.org/docs/tag-plugins/
# ---------------------------------------------------------------
tabs:
transition:
tabs: true
labels: true
pdf:
enable: true
height: 500px
mermaid:
enable: true
theme: forest
# ---------------------------------------------------------------
# Animation Settings
# ---------------------------------------------------------------
nprogress:
enable: true
spinner: true
canvas_ribbon:
enable: true