forked from removeif/hexo-theme-amazing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
419 lines (413 loc) · 14.8 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
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# Version of the configuration file
version: 4.0.0
# Icarus theme variant, can be "default" or "cyberpunk"
variant: default
# Path or URL to the website's logo
logo: /img/logo.png #/img/logo.svg
# Page metadata configurations
head:
# URL or path to the website's icon
favicon: /img/favicon.png #/img/favicon.svg
# Open Graph metadata
# https://hexo.io/docs/helpers.html#open-graph
open_graph:
# Page title (og:title) (optional)
# You should leave this blank for most of the time
title: 码奴
# Page type (og:type) (optional)
# You should leave this blank for most of the time
type: note
# Page URL (og:url) (optional)
# You should leave this blank for most of the time
url: https://yangchaohe.github.io/
# Page cover (og:image) (optional)
# You should leave this blank for most of the time
image: /img/avatar.png
# Site name (og:site_name) (optional)
# You should leave this blank for most of the time
site_name: MANU
# Page author (article:author) (optional)
# You should leave this blank for most of the time
author: manu
# Page description (og:description) (optional)
# You should leave this blank for most of the time
description:
# Twitter card type (twitter:card)
twitter_card:
# Twitter ID (twitter:creator)
twitter_id:
# Twitter Site (twitter:site)
twitter_site:
# Google+ profile link (deprecated)
google_plus:
# Facebook admin ID
fb_admins:
# Facebook App ID
fb_app_id:
# Structured data of the page
# https://developers.google.com/search/docs/guides/intro-structured-data
structured_data:
# Page title (optional)
# You should leave this blank for most of the time
title:
# Page description (optional)
# You should leave this blank for most of the time
description:
# Page URL (optional)
# You should leave this blank for most of the time
url:
# Page author (article:author) (optional)
# You should leave this blank for most of the time
author:
# Page images (optional)
# You should leave this blank for most of the time
image:
# Additional HTML meta tags in an array
meta:
# Meta tag specified in <attribute>=<value> style
# E.g., name=theme-color;content=#123456 => <meta name="theme-color" content="#123456">
- ''
# URL or path to the website's RSS atom.xml
rss: /atom.xml
# Page top navigation bar configurations
navbar:
# Naviagtion menu items
menu:
主页: /
分类: /categories
归档: /archives
标签: /tags
思维导图: /mindmap
书籍: /read
日志: /life
关于: /about
#Album: /album
#Friend: /friend
#Message: /message
#Self-talking: /self-talking
#Music: /music
#Media: /media
# Links to be shown on the right of the navigation bar
links:
#Join Gitter:
#icon: fab fa-gitter
#url: 'https://gitter.im/hexo-theme-amazing/community'
Download on GitHub:
icon: fab fa-github
url: 'https://github.com/yangchaohe/yangchaohe.github.io'
# Page footer configurations
footer:
# Links to be shown on the right of the footer section
links:
Creative Commons:
icon: fab fa-creative-commons
url: 'https://creativecommons.org/'
Attribution 4.0 International:
icon: fab fa-creative-commons-by
url: 'https://creativecommons.org/licenses/by/4.0/'
Download on GitHub:
icon: fab fa-github
url: 'https://github.com/yangchaohe/yangchaohe.github.io'
# Article related configurations
article:
# Code highlight settings
highlight:
# Code highlight themes
# https://github.com/highlightjs/highlight.js/tree/master/src/styles
theme: atom-one-light
# Show copy code button
clipboard: true
# Default folding status of the code blocks. Can be "", "folded", "unfolded"
fold: unfolded
# Whether to show estimated article reading time
readtime: true
# Article licensing block
licenses:
Creative Commons:
icon: fab fa-creative-commons
url: 'https://creativecommons.org/'
Attribution:
icon: fab fa-creative-commons-by
url: 'https://creativecommons.org/licenses/by/4.0/'
Noncommercial:
icon: fab fa-creative-commons-nc
url: 'https://creativecommons.org/licenses/by-nc/4.0/'
# Search plugin configurations
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Search/
search:
type: insight
# Comment plugin configurations
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Comment/
#comment:
# type: disqus
# # Disqus shortname
# shortname: ''
# Comment plugin configurations
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Comment/
comment:
type: false #gitalk
language: zh-CN #zh-CN #Localization language key, en, zh-CN and zh-TW are currently available.
owner: # (required) GitHub user name
repo: # (required) GitHub repository name
client_id: # (required) OAuth application client id
client_secret: # (required) OAuth application client secret
admin:
create_issue_manually: false
distraction_free_mode: false
has_hot_recommend: false # 是否有热门推荐
has_latest_comment: false #是否有最新评论
proxy: https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token #解决登录后403问题
# comment:
# type: valine
# app_id: rOtVIhvG3kd7QkMKe3naSU9R-gzGzoHsz
# app_key: F2sNV0CkqvbPat45di3DEn3z
# notify: false
# verify: false
# avatar: 'mp'
# placeholder: '留下您的高见!'
# has_latest_comment: true #是否有最新评论 true-有,false-无
# owner: 辣椒の酱 #博主名 最新评论标注[博主]
# required_fields: ['nick', 'mail', 'link']
# lang: en #zh-CN zh-TW en ja
# utteranc site: https://utteranc.es/
# comment:
# type: utteranc
# repo: removeif/utteranc_comment # (required) GitHub userName & repository name
# issue_term: pathname
# issue_number:
# label:
# theme: github-light
# Donate plugin configurations
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Donation/
donates:
# Alipay donate button configurations
-
# Donation entry name
type: alipay
# Qrcode image URL
qrcode: ''
-
# Donation entry name
type: wechat
# Qrcode image URL
qrcode: ''
# "Buy me a coffee" donate button configurations
# -
# type: buymeacoffee
# # URL to the "Buy me a coffee" page
# url: ''
# # Patreon donate button configurations
# -
# type: patreon
# # URL to the Patreon page
# url: ''
# # Paypal donate button configurations
# -
# type: paypal
# # Paypal business ID or email address
# business: ''
# # Currency code
# currency_code: USD
# # Wechat donate button configurations
# -
# type: wechat
# # Wechat qrcode image URL
# qrcode: ''
# Share plugin configurations
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Share/
share:
type: sharejs
# URL to the ShareThis share plugin script
install_url: ''
# Sidebar configurations.
# Please be noted that a sidebar is only visible when it has at least one widget
sidebar:
# Left sidebar configurations
left:
# Whether the sidebar sticks to the top when page scrolls
sticky: true
# Right sidebar configurations
right:
# Whether the sidebar sticks to the top when page scrolls
sticky: false
# Sidebar widget configurations
# http://ppoffice.github.io/hexo-theme-icarus/categories/Widgets/
widgets:
# Table of contents widget configurations
-
position: right
type: notice
contents:
1: 2021.6.28 公告测试
-
# Where should the widget be placed, left sidebar or right sidebar
position: right
type: toc
# Select show index
index: true
# Profile widget configurations
-
# Where should the widget be placed, left sidebar or right sidebar
position: left
type: profile
# Author name
author: 码奴
# Author title
author_title: 待人友善是修养,独来独往是性格
# Author's current location
location: 中国贵州
# URL or path to the avatar image
avatar: /img/avatar.png
# Whether show the rounded avatar image
avatar_rounded: true
# Email address for the Gravatar
gravatar:
# URL or path for the follow button
follow_link: 'https://github.com/yangchaohe'
# Links to be shown on the bottom of the profile widget
social_links:
Github:
icon: fab fa-github
url: 'https://github.com/yangchaohe'
#Weibo:
#icon: fab fa-weibo
#url: 'https://weibo.com/removeif'
Email:
icon: fa fa-envelope
url: 'mailto:[email protected]'
#Next:
#icon: fab fa-dribbble
#url: 'https://removeif.github.io/remove.io'
RSS:
icon: fas fa-rss
url: /atom.xml
has_hitokoto: true
# Recommendation links widget configurations
#-
# Where should the widget be placed, left sidebar or right sidebar
# position: left
# type: links
# Names and URLs of the sites
# links:
# Hexo: 'https://hexo.io'
# Bulma: 'https://bulma.io'
# Latest comment widget configurations
-
# Where should the widget be placed, left sidebar or right sidebar
position: right
type: latest_comment
# Recent posts widget configurations
-
# Where should the widget be placed, left sidebar or right sidebar
position: right
type: recent_posts
# Categories widget configurations
#-
# Where should the widget be placed, left sidebar or right sidebar
# position: right
# type: categories
# Archives widget configurations
#-
# Where should the widget be placed, left sidebar or right sidebar
# position: right
# type: archives
# Tags widget configurations
-
# Where should the widget be placed, left sidebar or right sidebar
position: right
type: tags
# Google FeedBurner email subscription widget configurations
#-
# Where should the widget be placed, left sidebar or right sidebar
# position: right
# type: subscribe_email
# Hint text under the email input
# description:
# Feedburner ID
# feedburner_id: ''
# Google AdSense unit configurations
-
# Where should the widget be placed, left sidebar or right sidebar
position: right
type: adsense
# AdSense client ID
adsense_client_id: #'ca-pub-6343805421927634'
# AdSense AD unit ID
#adsense_slot_id: '5134765588'
# article head ad
article_head_has_ad: true
# comment head ad
comment_head_has_ad: true
# other ad
index_zero_position_ad: false
index_ad_positions: 2,5,9 #首页adsense放置广告的位置,尽量少配置些,多了有可能不显示。一位的时候,加个逗号,如1,或者1,5,9
# Plugin configurations
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/
plugins:
# Enable page startup animations
animejs: true
# Show the "back to top" button
back_to_top: true
# Baidu Analytics plugin settings
# https://tongji.baidu.com
baidu_analytics:
# Baidu Analytics tracking ID
tracking_id:
# BuSuanZi site/page view counter
# https://busuanzi.ibruce.info
busuanzi: true
# CNZZ statistics
# https://www.umeng.com/web
cnzz:
# CNZZ tracker id
id:
# CNZZ website id
web_id:
# Enable the lightGallery and Justified Gallery plugins
gallery: true
# Google Analytics plugin settings
# https://analytics.google.com
google_analytics:
# Google Analytics tracking ID
tracking_id:
# Hotjar user feedback plugin
# https://www.hotjar.com/
hotjar:
# Hotjar site id
site_id:
# Enable the KaTeX math typesetting supprot
# https://katex.org/
katex: false
# Enable the MathJax math typesetting support
# https://www.mathjax.org/
mathjax: true
# Enable the Outdated Browser plugin
# http://outdatedbrowser.com/
outdated_browser: false
# Show a progress bar at top of the page on page loading
progressbar: true
# CDN provider settings
# https://ppoffice.github.io/hexo-theme-icarus/Configuration/Theme/speed-up-your-site-with-custom-cdn/
providers:
# Name or URL template of the JavaScript and/or stylesheet CDN provider
cdn: loli
# Name or URL template of the webfont CDN provider
fontcdn: loli
# Name or URL of the fontawesome icon font CDN provider
iconcdn: loli
# https://cdn.jsdelivr.net/gh/removeif/[email protected]/json_data/record.json, cdn前缀,对于hexo new page 页面中引用的资源文件不生效,需要手动改,如friend友链页中引用的资源
# my_cdn_pre: https://cdn.jsdelivr.net/gh/removeif/[email protected]/ #https://cdn.jsdelivr.net/gh/removeif/[email protected]
footer_copyright_dsec: © 版权说明:[本网站所有内容均收集于互联网或自己创作,<br /> 方便于网友与自己学习交流,如有侵权,请给我发<a href="mailto:[email protected]">邮件</a>,立即处理]<br /> #footer 版权说明 可自由配置
website_start_time: 2019/12/19 00:00:00 #网站运行开始时间,不填不显示
#footer_registered_no: 川ICP备88888888号-8(测试) #备案号
side_music_netease_id: 4967313247 #侧边栏网易云歌单id
busuanzi_only_count: false #当上面plugins中busuanzi: true时,此配置busuanzi_only_count为true时,网站不显示不蒜子统计数据,但是会每次统计。false时显示统计数据。
has_live_2D_switch: false #live2D开关 true-开 false-关
use_pjax: true #是否pjax
# Custom config
# hexo-filter-mermaid-diagrams: https://github.com/webappdevelp/hexo-filter-mermaid-diagrams
mermaid: ## mermaid url https://github.com/knsv/mermaid
enable: true # default true
version: "7.1.2" # default v7.1.2
options: # find more api options from https://github.com/knsv/mermaid/blob/master/src/mermaidAPI.js
#startOnload: true // default true