-
Notifications
You must be signed in to change notification settings - Fork 121
/
_config.yml
163 lines (142 loc) · 4.59 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
##########################
## Site Config Settings ##
##########################
# Theme version
version: 3.0.0
# Theme tone
dark: true # true/false
favicon: /favicon.png
banner: "images/banner.jpg"
banner-dark: "images/banner-dark.jpg"
# Header
menu:
- page: home
directory: .
icon: fa-home
- page: archive
directory: archives/
icon: fa-archive
- page: about
directory: about/
icon: fa-user
- page: rss
directory: atom.xml
icon: fa-rss
# RSS & Sitemap plugins
Plugins:
hexo-generator-feed
hexo-generator-sitemap
# Sitemap
sitemap:
path: sitemap.xml
# Content
excerpt_link: Read More
fancybox: true
copyright:
enable: true # display article copyright information, true/false.
content: "转载请注明出处."
# Date_formats
date_formats:
post: 'YYYY年MM月DD日'
idStr: 'YYYYMMDDHHmmss'
# Sidebar
sidebar: right # right/left/bottom
widgets:
- recent_posts
- tagcloud
- category
- archive
- tag
- links
# Widget behavior
archive_type: 'yearly' # 'yearly','monthly'
archive_format: 'YYYY年' # 'YYYY年','YYYY年MM月'
show_count: true
recent_posts_limits: 5
# Toc
toc:
enable: true
list_number: false
# Article share
share:
local_share: true
baidu_share: false
# Miscellaneous
busuanzi: true ## If you want to use Busuanzi page views please set the value to true.
baidu_analytics:
google_analytics:
gauges_analytics:
# MathJax support
mathjax:
enable: false # true/false.
cdn: //cdn.bootcss.com/mathjax/2.7.1/latest.js?config=TeX-AMS-MML_HTMLorMML
# Reward
reward:
enable: false # true/false 是否开启 打赏功能
wechat: '/css/images/wechat-pay.jpg'
alipay: '/css/images/alipay-pay.jpg'
buttonTxt: '打赏'
title: "“感谢你的支持,我会继续努力!”"
content: "扫码打赏,感谢支持"
# About page
about:
photo_url: ## Your photo e.g. /themeauthor.jpg
items:
- label: email
url: ## Your email with mailto: e.g. mailto:[email protected]
title: ## Your email e.g. [email protected]
- label: github
url: ## Your github'url e.g. https://github.com/chaooo
title: ## Your github'name e.g. chaooo
- label: weibo
url: ## Your weibo's url e.g. http://weibo.com/zhengchaooo
title: ## Your weibo's name e.g. 秋过冬漫长
# Gitalk comment
gitalk:
enable: false
owner: ## Your GitHub ID, e.g. username
repo: ## The repository to store your comments, make sure you're the repo's owner, e.g. gitalk.github.io
client_id: ## GitHub client ID, e.g. 75752dafe7907a897619
client_secret: ## GitHub client secret, e.g. ec2fb9054972c891289640354993b662f4cccc50
admin: ## Github repo owner and collaborators, only these guys can initialize github issues.
language: 'zh-CN' ## Language
pagerDirection: last # Comment sorting direction, available values are last and first.
# giteement评论(基于Gitee issues)【!!!慎用,Gitee接口调用时好像有次数限制,导致后面无法调试,若要使用请自行研究】
giteement:
enable: false
owner: #'chaoo' # 你的码云账号英文名
repo: #'blog-comments' # 存储评论的仓库的仓库名称(需要在码云仓库创建公开仓库)
redirect_uri: #'https://chaoo.gitee.io' # 应用回调地址(请和配置的第三方应用保持一致)
client_id: #4ec96c34e83a4767d762a5a321ae15d9b8456d552c146afda829b815d51abfd2 ## GitHub client ID, e.g. 75752dafe7907a897619
client_secret: #d2cf268817c7099b010f4ff7053f79dca3e32105da449318d8ae87f82782d531 ## GitHub client secret, e.g. ec2fb9054972c891289640354993b662f4cccc50
# Valine comment. https://valine.js.org
valine:
enable: false # if you want use valine,please set this value is true
appId: # leancloud application app id
appKey: # leancloud application app key
notify: false # valine mail notify (true/false) https://github.com/xCss/Valine/wiki
verify: false # valine verify code (true/false)
pageSize: 10 # comment list page size
avatar: mm # gravatar style https://valine.js.org/#/avatar
lang: zh-cn # i18n: zh-cn/en
placeholder: Just go go # valine comment input placeholder(like: Please leave your footprints )
guest_info: nick,mail,link #valine comment header info
# Changyan comment. 畅言
changyan:
enable: false
appid: ## changyan appid
appkey: ## changyan appkey
# Other comments
comment:
disqus: ## disqus_shortname
livere: ## 来必力(data-uid)
uyan: ## 友言(uid)
cloudTie: ## 网易云跟帖(productKey)
# Friend Links widget. Empty links will hide widget.
links:
- title: site-name1
url: http://www.example1.com/
- title: site-name2
url: http://www.example2.com/
- title: site-name3
url: http://www.example3.com/