-
Notifications
You must be signed in to change notification settings - Fork 208
/
_config.yml
259 lines (215 loc) · 4.47 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
# ---------------------------------------------------------------
# Site Information And Theme Configuration Settings
# language: zh-CN
# ---------------------------------------------------------------
## menu
menu:
- page: home
url: /
icon:
- page: 前端
url: /categories/前端/
icon:
- page: 后端
url: /categories/后端/
icon:
- page: 工具
url: /categories/工具/
icon:
- page: 时间轴
url: /archives/
icon:
## favicon
favicon: /favicon.ico
## Feed
rss: /atom.xml
## Carousel
carousel:
img: "./img/head-img.jpg"
url: "https://promotion.aliyun.com/ntms/act/qwbk.html?userCode=xs0pypd2"
# 各个小工具的设置
## widgets
widgets:
- search
- notification
- social
- category
- archive
- tagcloud
- friends
## 搜索
jsonContent:
searchLocal: true
searchGoogle: false
posts:
title: true
text: true
content: true
categories: false
tags: false
## 网站公告设置
notification: |-
<p>
主题下载:<a href="https://github.com/shenliyang/hexo-theme-snippet" title="fork me" target="_blank">Snippet主题</a> <br/>
主题使用:<a href="https://github.com/shenliyang/hexo-theme-snippet/blob/master/README.md#常见问题" title="" target="_blank">常见使用问题</a> <br/>
支持主题:<a href="https://github.com/shenliyang/hexo-theme-snippet/stargazers">Star一下</a>
</p>
## 社交设置
social:
- name: Github
icon: git
href: //github.com/shenliyang
- name: 邮箱
icon: envelope-o
href: mailto:snippet@aliyun.com
- name: 联系QQ
icon: qq
href: /
- name: 微信
icon: weixin
href: /
- name: QQ群
icon: users
href: /
- name: RSS
icon: feed
href: /atom.xml
## 文章分类设置
cate_config:
show_count: true
show_current: true
## 文章归档设置
arch_config:
type: "monthly"
format: "YYYY年MM月"
show_count: true
order: -1
## 标签云设置
tagcloud:
tag3d: false
textColour: "#444"
outlineMethod: "block"
outlineColour: "#FFDAB9"
interval: 30
freezeActive: true
frontSelect: true
reverse: true
wheelZoom: false
## 友链设置
links:
- Hexo官网: https://hexo.io/zh-cn/
# 主题自定义个性化配置
## 网站宣传语
branding:
## 设置banner背景图片
banner:
img: https://hexo-theme-snippet-1251680922.cos.ap-beijing.myqcloud.com/img/banner.jpg
## 首页列表底部面板
homePanel: true
## 缩略图自定义随机图片
defaultImgs:
-
## 截取文章首页描述字数
excerptLength: 120
## 是否开启文章目录
toc: true
## 代码高亮配置
highlightTheme:
## bootstrap配置
bootstrap:
## ICON配置
fontAwesome:
## 文章过期提醒功能
warning:
days: 300
text: "本文于%d天之前发表,文中内容可能已经过时。"
## 文章内声明
declaration:
enable: true
title: "转载声明"
tip: |-
商业转载请联系作者获得授权,非商业转载请注明出处 © <a href="" target="_blank">Snippet</a>
## 文章打赏
reward:
alipay: ""
wepay: ""
tip: 赞赏是不耍流氓的鼓励
## 主题评论
## utterances评论
utterances:
enable: true
repo: shenliyang/snippet-comment
issueTerm: pathname
issueNumber:
theme: github-light
label:
cdn:
## Valine评论
valine:
enable: false
appId: xOKV9J4UeQAtVkvnJC7Kq2Jn-gzGzoHsz
appKey: erIpQac4azoCmgfBB7Dl9maa
placeholder: 说点什么吧
notify: false
verify: true
avatar: mm
meta: nick,mail
pageSize: 10
### 畅言评论(需要ICP备案)
changyan:
enable: false
appid:
conf:
### 来必力
livere:
enable: false
livere_uid: MTAyMC8zMzA1MS85NjEz
## Gitalk评论
gitalk:
enable: false
clientID:
clientSecret:
repo:
owner:
admin:
perPage:
distractionFreeMode: true
### Disqus评论
disqus:
enable: false
shortname: snippet
count: false
### gitment评论(长期不更新,不建议使用)
gitment:
enable: false
owner:
repo:
client_id:
client_secret:
perPage: 10
### 友言评论(服务不稳定)
uyan:
enable: false
uyan_id: 1966422
## 网站访客统计
visit_counter:
site: false
page: false
## 网站访问统计分析
### 网盟CNZZ统计
cnzz_analytics: 1263868967
### 百度统计
baidu_analytics:
### 谷歌统计
google_analytics:
### 腾讯分析
tencent_analytics:
### 百度站点认证
baidu_site_verification:
### 百度自动推送
baidu_push: false
#网站主题配置
since: 2017
beian:
robot: "all" ### 控制搜索引擎的抓取和索引编制行为,默认为all
version: 1.3.0