forked from zhaoo/hexo-theme-zhaoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.yml
291 lines (243 loc) · 5.9 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
# --------------------------------------------------
# Site Settings
# --------------------------------------------------
# Menu
menu:
home: / || 首页
galleries: /galleries/ || 摄影
archives: /archives/ || 归档
tags: /tags/ || 标签
categories: /categories/ || 分类
about: /about/ || 关于
# Color
color:
text: '#33333D'
text-secondary: '#4e4e4e'
text-third: '#999999'
background: '#ffffff'
background-secondary: '#f6f8fa'
border: '#eeeeee'
text-dark: '#dddddd'
text-secondary-dark: '#9899ab'
text-third-dark: '#7d8594'
background-dark: '#1e2128'
background-secondary-dark: '#1a1d22'
border-dark: '#2b3038'
link: '#FF3B00'
link-gradient: 'linear-gradient(-60deg, #ff5858 0%, #f09819 100%)'
# Favicon
favicon:
small: /images/icons/favicon-16x16.png
medium: /images/icons/favicon-32x32.png
apple_touch_icon: /images/icons/apple-touch-icon.png
safari_pinned_tab: /images/icons/stun-logo.svg
msapplication: /images/icons/favicon-144x144.png
# Font
font:
size: 14px
family:
# Background Image
background_image:
# Loading
loading:
gif: /images/theme/loading.gif
lottie:
# Preview
preview:
enable: true
type: wave # wave | cloud
background:
type: image # image video
default_image:
light: /images/theme/welcome-image.jpg
dark: /images/theme/welcome-image.jpg
video:
api: # https://source.unsplash.com/random/1920x1080
size: cover # css: background-size
position: center # css: background-position
motto:
default: 我在开了灯的床头下,想问问自己的心啊。
color: '#ffffff'
typing: true
api: https://v2.jinrishici.com/one.json
data_contents: ['data', 'content']
# ex.one => apl: https://v1.hitokoto.cn/?encode=text&c=i data_contents:
# ex.two => api: https://v2.jinrishici.com/one.json data_contents: ['data', 'content']
# Navbar
navbar:
enable: true
back_home: true
# Copyright
copyright: <p>Powered by <a target="_blank" href="https://hexo.io">Hexo</a> | Theme - <a target="_blank" href="https://github.com/izhaoo/hexo-theme-zhaoo">zhaoo</a></p>
# Social
social:
qq: tencent://message/?Menu=yes&uin=894519210 || iconQQ || '#12B7F5'
wechat: javascript:; || iconwechat-fill || '#09BB07'
instagram: https://www.instagram.com/izhaoo/ || iconinstagram || '#DA2E76'
github: https://github.com/zhaoo || icongithub-fill || '#9f7be1'
email: mailto:izhaoo@163.com || iconmail
# Override Scrollbar
scrollbar:
type: default # default | simple | normal | none
# Fab (Float Action Button)
fab:
enable: true
always_show: false
# Search
search:
enable: false
# QR Code
qrcode:
enable: true
type: url # url | image
image: https://pic.izhaoo.com/weapp-code.jpg
# Color Mode
color_mode:
enable: true
# Gray (Mourning Mode)
gray:
enable: false
# --------------------------------------------------
# Post Settings
# --------------------------------------------------
# Excerpt
excerpt:
enable: true
# Post Image
post_image:
random: local # local galleries
default: /images/theme/post-image.jpg
# Page Size
post_page_size:
width: 800px
# Caption
caption:
enable: true
# Indent
indent:
content:
excerpt:
# TOC
toc:
enable: true
always_show: true
min_depth: 1
max_depth: 3
# Donate
donate:
enable: true
alipay: https://pic.izhaoo.com/alipay.jpg
wechat: https://pic.izhaoo.com/wechat.jpg
# Copyright
post_copyright:
enable: true
# Carrier(copy article with one click)
carrier:
enable: true
type: html # html | markdown | text
# --------------------------------------------------
# Page Settings
# --------------------------------------------------
# Galleries
galleries:
enable: true
title: 摄影
subtitle: Photography
type: waterfall # waterfall | grid
columns: 3
# --------------------------------------------------
# Comment Settings
# --------------------------------------------------
comments:
enable: false
type: valine # gitalk | valine | changyan
button: true
# Gitalk
gitalk:
owner:
repo:
admin:
clientID:
clientSecret:
# Valine
valine:
appId:
appKey:
placeholder: 雁过留痕
avatar: mp
pageSize: 10
lang: zh-CN
# ChangYan
changyan:
appId:
conf:
# --------------------------------------------------
# Plugin settings
# --------------------------------------------------
# Notification
notification:
enable: false
delay: 4500
page_white_list:
page_black_list:
# Daovoice
daovoice:
enable: false
appId: # app_id
# Tencent Chao
tencentChao:
enable: false
appId: # app_id
# LeanCloud
leancloud:
enable: false
appId:
appKey:
serverURLs: https://leancloud.cn/
# Lazyload
lazyload:
enable: true
only_post: false
loading:
gif: /images/theme/loading.gif
lottie:
# FancyBox
fancybox: true
# Pjax
pjax: false
# HighLight
highlight:
enable: true
style: # https://highlightjs.org/static/demo/
light: Xcode
dark: Solarized Dark
# SEO
seo:
baidu_auto_push: true
# Analytics
analytics:
baidu: # id
google: # id
tencent: # id
cnzz: # id
# --------------------------------------------------
# Script Settings
# --------------------------------------------------
# CDN
vendors:
jquery_js: https://code.jquery.com/jquery-3.6.0.min.js
fancybox_js: https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js
pjax_js: https://cdn.bootcss.com/jquery.pjax/2.0.1/jquery.pjax.min.js
lazyload_js: https://cdn.bootcdn.net/ajax/libs/jquery.lazyload/1.9.1/jquery.lazyload.min.js
qrcode_js: https://cdn.bootcdn.net/ajax/libs/jquery.qrcode/1.0/jquery.qrcode.min.js
daovoice_js: https://widget.daovoice.io/widget/0f81ff2f.js
lottie_js: https://cdn.bootcdn.net/ajax/libs/lottie-web/5.7.12/lottie.js
fancybox_css: https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css
highlight_css: https://cdn.bootcss.com/highlight.js/9.18.1/styles/
iconfont_css: https://at.alicdn.com/t/font_1445822_p6ry5n7lrr.css
# Custom
custom:
head:
foot:
css:
js: