forked from cofess/hexo-theme-pure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
237 lines (217 loc) · 6.24 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
# menu
menu:
Home: .
Archives: archives # 归档
Categories: categories # 分类
Tags: tags # 标签
Repository: repository # github repositories
Books: books # 豆瓣书单
Links: links # 友链
About: about # 关于
# Enable/Disable menu icons
menu_icons:
enable: true # 是否启用导航菜单图标
home: icon-home-fill
archives: icon-archives-fill
categories: icon-folder
tags: icon-tags
repository: icon-project
books: icon-book-fill
links: icon-friendship
about: icon-cup-fill
# rss
rss: /atom.xml
# Site
site:
logo:
enabled: true
width: 40
height: 40
url: ../images/logo.png
title: Hexo # 页面title
favicon: /favicon.png
board: <p>欢迎交流与分享经验!</p> # 站点公告
copyright: false # 底部版权信息
# config
config:
skin: # 主题颜色 theme-black theme-blue theme-green theme-purple
layout: main-center # 布局方式 main-left main-center main-right
toc: true # 是否开启文章章节目录导航
menu_highlight: false # 是否开启当前菜单高亮显示
thumbnail: false # enable posts thumbnail, options: true, false
excerpt_link: Read More
# Pagination
pagination:
number: false
prev:
alwayShow: true
next:
alwayShow: true
# Sidebar
sidebar: right
widgets:
- board
- category
- tag
- tagcloud
- archive
- recent_posts
# display widgets at the bottom of index pages (pagination == 2)
index_widgets:
# - category
# - tagcloud
# - archive
# widget behavior
archive_type: 'monthly'
show_count: true
# Fancybox
fancybox: false
# Search
search:
insight: true # you need to install `hexo-generator-json-content` before using Insight Search
baidu: false # you need to disable other search engines to use Baidu search
# Donate
donate:
enable: true
# 微信打赏
wechatpay:
qrcode: images/donate/wechatpayimg.png
title: 微信支付
# 支付宝打赏
alipay:
qrcode: images/donate/alipayimg.png
title: 支付宝
# Share
# weibo,qq,qzone,wechat,tencent,douban,diandian,facebook,twitter,google,linkedin
share:
enable: true # 是否启用分享
sites: weibo,qq,wechat,facebook,twitter # PC端显示的分享图标
mobile_sites: weibo,qq,qzone # 移动端显示的分享图标
# Github
github:
username: cofess # github username
# Comment
# Gitment
# Introduction: https://imsun.net/posts/gitment-introduction/
comment:
type: valine # 启用哪种评论系统
disqus: # enter disqus shortname here
youyan:
uid: 1783844 # enter youyan uid
livere:
uid: # enter youyan uid
gitment:
githubID:
repo:
ClientID:
ClientSecret:
lazy: false
gitalk: # gitalk. https://gitalk.github.io/
owner: #必须. GitHub repository 所有者,可以是个人或者组织。
admin: #必须. GitHub repository 的所有者和合作者 (对这个 repository 有写权限的用户)。
repo: #必须. GitHub repository.
ClientID: #必须. GitHub Application Client ID.
ClientSecret: #必须. GitHub Application Client Secret.
valine: # Valine. https://valine.js.org
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
meta: nick,mail,link # custom comment header
pageSize: 10 # pagination size
visitor: false # Article reading statistic https://valine.js.org/visitor.html
# douban 豆瓣书单
# Api:
# https://developers.douban.com/wiki/?title=book_v2 图书
# https://developers.douban.com/wiki/?title=movie_v2 电影
# books:
# https://api.douban.com/v2/book/user/:name/collections?start=0&count=100 个人书单列表
# movies:
# https://api.douban.com/v2/movie/in_theaters 正在上映的电影
# https://api.douban.com/v2/movie/coming_soon 即将上映的电影
# https://api.douban.com/v2/movie/subject/:id 单个电影信息
# https://api.douban.com/v2/movie/search?q={text} 电影搜索
douban:
user: # 豆瓣用户名
start: 0 # 从哪一条记录开始
count: 100 # 获取豆瓣书单数据条数
apikey: # 豆瓣apikey
# PV
pv:
busuanzi:
enable: false # 不蒜子统计
leancloud:
enable: false # leancloud统计
app_id: # leancloud <AppID>
app_key: # leancloud <AppKey>
# wordcount
postCount:
enable: false
wordcount: true # 文章字数统计
min2read: true # 阅读时长预计
# Plugins
plugins:
google_analytics: # enter the tracking ID for your Google Analytics
google_site_verification: # enter Google site verification code
baidu_analytics: # enter Baidu Analytics hash key
tencent_analytics:
# Miscellaneous
twitter:
google_plus:
fb_admins:
fb_app_id:
# profile
profile:
enabled: true # Whether to show profile bar
avatar: images/avatar.jpg
gravatar: # Gravatar email address, if you enable Gravatar, your avatar config will be overriden
author: 昵称
author_title: Web Developer & Designer
author_description: 个人简介。
location: Shenzhen, China
follow: https://github.com/cofess
# Social Links
social:
links:
github: https://github.com/cofess
weibo: http://weibo.com/cofess
twitter: https://twitter.com/iwebued
# facebook: /
# dribbble: /
behance: https://www.behance.net/cofess
rss: atom.xml
link_tooltip: true # enable the social link tooltip, options: true, false
# My Skills
skills:
Git: ★★★☆☆
Gulp: ★★★☆☆
Javascript: ★★★☆☆
HTML+CSS: ★★★☆☆
Bootstrap: ★★★☆☆
ThinkPHP: ★★★☆☆
平面设计: ★★★☆☆
# My Personal Links
links:
Github: https://github.com/cofess
Blog: http://blog.cofess.com
微博: http://weibo.com/cofess
花瓣: http://huaban.com/cofess
Behance: https://www.behance.net/cofess
# My Personal Labels
labels:
- 前端
- 前端开发
- 前端重构
- Web前端
- 网页重构
# My Personal Works
works:
name:
link: http://www.example.com
date: 2016
# My Personal Projects
projects:
cofess/gulp-startpro: https://github.com/cofess/gulp-startpro
cofess/hexo-theme-pure: https://github.com/cofess/hexo-theme-pure