-
Notifications
You must be signed in to change notification settings - Fork 208
/
_config.yml
297 lines (257 loc) · 8.48 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
# Blog info
blog_name: Forsigner
slogan: Find the bug of the world
url: http://www.forsigner.com
# Set avatar (Absolute url and relative url)
avatar: /images/avatar.jpg
# Set favicon
favicon: /favicon.ico
# For seo
keywords: forsigner,前端,设计,Hexo主题,前端开发,用户体验,设计,frontend,design,nodejs,JavaScript
home_nav:
- name: Blog
url: /archives
target_blank: false #不在新页面打开
- name: Project
url: /project/
target_blank: true #在新页面打开
- name: Github
url: https://github.com/forsigner
target_blank: true
- name: Twitter
url: https://twitter.com/forsigner
target_blank: true
# config page nav
page_nav:
- name: 博客
url: /archives/
target_blank: false # 不在新页面打开
- name: 分类
url: /category/
target_blank: false
- name: 标签
url: /tag/
target_blank: false
- name: 友链
url: /link/
target_blank: false
- name: 关于
url: /about/
target_blank: false
- name: RSS
url: /atom.xml
target_blank: true # 在新页面打开
- name: 搜索
url: /search/
target_blank: false # 在新页面打开
page_nav_style: CIRCLE # CIRCLE|ROUND_RECT
# 面包屑
breadcrumb:
isShow: true # true|fase
# 盒子
toolbox:
isShow: true # true|fase
text: 盒子
search_slogan:
isShow: true # true|fase
text: Can you find the bug of world ~
link_slogan:
isShow: true # true|fase
text: 交换友链可以邮件 [email protected]
# set backtop show or hide
backtop:
home: false
archive: false
category: true
tag: true
post: true
link: false
about: false
donation:
show: true
btn_text: 支持一下
tip: 扫一扫,支持forsigner
items:
- type: 微信
text: 微信扫一扫
imgUrl: /images/qr-wechat.png
- type: 支付宝
text: 支付宝扫一扫
imgUrl: /images/qr-alipay.png
post:
header_align: CENTER # LEFT|CENTER
showToc: true # true|false
showComments: true
open_in_new_window: false
show_prev_next: true
# =========================================================
# 个性化设置
# =========================================================
# Custom CSS style, 推荐把样式文件放在blog源码文件夹,而不是主题里面
personal_style: /css/personal-style.css
# 这个值取决于你得背景图片是深色还是浅色,深色用dark,浅色用light
home_background_scheme: light # dark、light
# custom font-family 暂时只支持这3种英文字体,你可以完全自定义字体(看文档)
blog_name_font_familiy: calligraffittiregular
# blog_name_font_familiy: Lobster-Regular
# blog_name_font_familiy: PoiretOne-Regular
init_page_content: HOME_NAV # HOME_NAV | POST
# =========================================================
# 第三方服务
# =========================================================
# Stats
google_analytics: UA-38189205-1
baidu_analytics: 57e94d016e201fba3603a8a2b0263af0
# Comment service
# disqus_shortname: forsigner
# hypercomments_id: 89821
# gentie_key: d16a7241e7cd4b389584ed8db2a4e8bc
#有言用户编号
# uyan_key:
# 畅言, doc: http://changyan.kuaizhan.com/
changyan:
enable: false # true | false 这里开启
changyan_appid:
changyan_appkey:
# gitalk评论组件,把下面的配置换成你的,官方文档: https://gitalk.github.io/
gitalk:
enable: true # 如果使用 gitalk,请设置改之为true
clientID: 277317290454635afa73
clientSecret: 78223c859304da5e8d71bfce136d436c6ff95c37
repo: blog-comment
owner: forsigner
admin: forsigner
# gitment comment service
gitment:
enable: false # true | false 这里开启
owner: # Your GitHub ID. Required.
repo: # The repository to store your comments. Make sure you're repo's owner. Required.
oauth: # An object contains your client ID and client secret. Required.
client_id: # GitHub client ID. Required.
client_secret: # GitHub client secret. Required.
id: # An optional string to identify your page. Default location.href.
title: # An optional title for your page, used as issue's title. Default document.title.
link: # An optional link for your page, used in issue's body. Default location.href.
desc: # An optional description for your page, used in issue's body. Default ''.
labels: # An optional array of labels your want to add when creating the issue. Default [].
theme: # An optional Gitment theme object. Default gitment.defaultTheme.
perPage: # An optional number to which comments will be paginated. Default 20.
maxCommentHeight: # An optional number to limit comments' max height, over which comments will be folded. Default 250.
# Valine comment system https://valine.js.org
valine:
enable: false # 如果使用valine,请设置改之为true
appid: # your leancloud application appid
appkey: # your leancloud application appkey
notify: false # mail notifier , https://github.com/xCss/Valine/wiki
verify: false # Verification code
placeholder: Just go go # comment box placeholder
avatar: mm # gravatar style
guest_info: nick,mail,link # custom comment header
pageSize: 10 # pagination size
# 不算子,文章访问量统计和显示
busuanzi: true
# =========================================================
# 页面内容设置
# =========================================================
about:
- type: me
icon: icon-user
text_value:
- "Scut,1991,Spring."
- "喜欢设计,擅长编程,喜欢睡懒觉."
- "前端开发工程师,常用 HTML / CSS / JavaScript."
- type: Github
icon: icon-github
text_key: Github
text_value: "@forsigner"
text_value_url: https://github.com/forsigner
- type: weibo
icon: icon-weibo
text_key: 微博
text_value: "@forsigner"
text_value_url: http://weibo.com/u/1847075964
- type: mail
icon: icon-mail
text_key: Gmail
text_value: "[email protected]"
- type: location
icon: icon-location
text_value: 珠海
link:
- name: 织网
info: 身体和灵魂,总有一个在路上
url: http://zheng-ji.info/
avatar: https://avatars3.githubusercontent.com/u/1414745?v=3&s=100
- name: Dongyado
info: 生命不止,折腾不息
url: http://dongyado.com/
avatar: https://avatars0.githubusercontent.com/u/6274940?v=3&s=100
- name: OrangeCoder
info: android ffmpeg nodejs gradle
url: http://orangecoder.com/
avatar: https://avatars0.githubusercontent.com/u/2263785?v=3&s=100
- name: EverET
info: 好记性不如烂笔头
url: http://everet.org/about-me/
avatar: https://avatars1.githubusercontent.com/u/1559563?v=3&s=100
- name: 题叶
info: FP, GUI, Writing
url: http://tiye.me/
avatar: https://avatars2.githubusercontent.com/u/449224?v=3&s=100
- name: McChen
info: Stay Hungry, Stay Foolish
url: https://chenjiahao.xyz
avatar: https://avatars0.githubusercontent.com/u/8033333?v=3&s=100
project:
- type: personal
name: fexo
url: https://github.com/forsigner/fexo
intro: A minimalist design theme for hexo
# - type: company
# name: Fexo
# url: https://github.com/forsigner/fexo
# intro: A minimalist design theme for hexo
- type: personal
name: beside
url: https://github.com/forsigner/beside
intro: I need you beside me
- type: personal
name: web-fontmin
url: https://github.com/forsigner/web-fontmin
intro: 字体子集化,在线提取你需要的字体
- type: personal
name: magic-check
url: https://github.com/forsigner/magic-check
intro: Beautify Radio and Checkbox with pure CSS
- type: personal
name: nice-bar
url: https://github.com/forsigner/nice-bar
intro: A nice and lightweight scrollbar
- type: personal
name: angular-nice-bar
url: https://github.com/forsigner/angular-nice-bar
intro: A nice and lightweight scrollbar in Angular
- type: personal
name: fo-popover
url: https://github.com/forsigner/fo-popover
intro: A nice popover for Angular
- type: personal
name: fo-tooltip
url: A nice tooltip for Angular
intro: https://github.com/forsigner/fo-tooltip
- type: personal
name: fo-modal
url: https://github.com/forsigner/fo-modal
intro: A nice modal for Angular
- type: personal
name: mocer
url: https://github.com/forsigner/mocer
intro: Setup a mock server easily
- type: personal
name: node-pngdefry
url: https://github.com/forsigner/node-pngdefry
intro: Repairing iPhone fried PNGs using Node.js
- type: personal
name: ng-simditor
url: https://github.com/forsigner/ng-simditor
intro: Angular directive for simditor