forked from yelog/hexo-theme-3-hexo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_config.yml
More file actions
272 lines (237 loc) · 8.82 KB
/
Copy path_config.yml
File metadata and controls
272 lines (237 loc) · 8.82 KB
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
version: 1.0.1
# 你的头像url
avatar: /img/avatar.jpg
favicon: /img/avatar.jpg
#如果博客放置位置不是根目录,则可以通过配置此路径解决静态文件路径错误问题
# 比如访问地址为 yelog.org/blog 那就需要配置为 blog_path: /blog 才能正常访问
blog_path: /
#链接图标 显示顺序和下面顺序一致
link:
theme: color # 链接样式,color: 彩色图标 white: 黑白图标
items:
rss: /atom.xml
github: https://github.com/OrexZ
#facebook: https://www.facebook.com/faker.tops
#twitter:
#linkedin:
#instagram: https://www.facebook.com/faker.tops
#reddit: https://www.reddit.com/user/yelog/
#weibo: http://weibo.com/u/2307534817
#jianshu: https://www.jianshu.com/u/ff56736de7cf
#zhihu: https://www.zhihu.com/people/jaytp/activities
#csdn:
#oschina: https://my.oschina.net/yelog
#juejin:
email: imcatsee@sina.com
qq: 1274928808
#kugou: https://www.kugou.com/
#neteasemusic: https://music.163.com/#/user/home?id=88151013
##########多作者模式############
author:
on: false
authors:
author1: 阿杰
author2: 小马哥
##############################
# 文章分类设置
category:
num: true # 分类显示文章数
sub: true # 开启多级分类
width:
lg: 120 # 1468px<屏幕宽度 左侧分类宽度
md: 100 # 1024px<屏幕宽度<=1468px 左侧分类宽度
sm: 100 # 426px<屏幕宽度<=1024px 左侧分类宽度(ipad)
# 多级分类说明:
# 比如在文章中设置多个菜单,则默认为多级菜单,即:工具>hexo
# categories:
# - 工具
# - hexo
# 左下角自定义菜单
menu:
about: # '关于' 按钮
on: true # 是否显示
url: /about # 跳转链接
type: 1 # 跳转类型 1:站内异步跳转 2:当前页面跳转 3:打开新的tab页
friend: # '友链' 按钮
on: true # 是否展示
menus: # 添加的其他菜单写在 menus 下,如下三个菜单:动态菜单1、动态菜单2、动态菜单3
相册:
on: false
url: /photo
type: 1 # 跳转类型 1:站内异步跳转
青楼:
on: false
url: http://orexz.github.io
type: 2 # 跳转类型 2:当前页面跳转
github:
on: false
url: https://github.com/yelog
type: 3 # 跳转类型 3:打开新的tab页
# 文末声明
article_txt: ‘采花’请注明来源于‘本楼’,欢迎对本楼‘姑娘们的姿色’进行善意的评论,心痒时,可情书至 imcatsee@sina.com
bottom_text: ©2019-2019 OrexZ
# 自定义页面最下方的站点版权信息
# 如果不填,则自定义为 ©2017 author (这个author为hexo根目录_config.yml中配置的)
reward: false
# true 开启打赏功能
searchAll: true
# true 启用全文搜索
# 开启此功能需要下面操作:
# 1. 在 hexo 根目录 执行 npm install hexo-generator-search --save 安装插件
# 2. 在 hexo 根目录的 _config.xml 中添加下面内容
# search:
# path: search.xml
# field: post
copyright: true
# Copyright info. of post | 文末版权信息
word_count: true
# true 开启字数统计
# 开启此功能需要安装插件 :在 hexo根目录 执行npm i hexo-wordcount --save
# 不蒜子网站计数设置
# http://ibruce.info/2015/04/04/busuanzi/
visit_counter:
on: true
site_visit: true
page_visit: true
##########自定义样式设置##############
# Table of contents | 文章目录
toc:
max_depth: 4 # 1 - 6 (h1-h6) 目录最大级数
#文章列表 鼠标移上去的样式, 为空时使用默认效果
article_list:
title: '#383636' # 文章列表标题颜色
datetime: '#5e5e5f' # 文章发布日期颜色
hover:
background: '#e2e0e0' # 背景色:提供几种:'#c1bfc1' '#fbf4a8'
color: # 文字颜色 提供几种:'#ffffff'
# 注意:由于颜色如果包含#,使用单引号 ' 引起来
# 文章列表背景图
article_bg_img:
on: true # 是否开启
src: https://i.loli.net/2019/07/22/5d3521411f3f169375.png
opacity: 0.3 # 背景图透明度,范围 0 ~ 1
# 列表样式
list: thread
# normal : 普通样式
# thread : 列表外圈有一个线框
# 引用块样式
blockquote: github
# github : 类似于github的引用快
# bracket : 类似于左右两个大括号的样式
# table 的样式
table: green_title
# 为空时类似github的table样式
# green 绿色样式
# green_title 头部为青色的table样式
# 首页背景图
index_bg_img:
# 其他页面背景图
other_bg_img:
# 点击图片放大样式
img_resize: default
# 可选值:
# default: 默认(自己写的简单的放大)
# photoSwipe: 使用photoSwipe插件
# 代码段高亮样式,markdown 语法 `demo`
code:
theme: dark-red
# 支持主题:
# dark-red: 红字(默认)
# github: github样式(灰色底,黑字)
highlight:
on: true # true开启代码高亮
lineNum: true # true显示行号
theme: atom-light
# 代码高亮主题,效果可以查看 https://highlightjs.org/static/demo/
# 支持主题:
# sublime : 参考sublime的高亮主题
# darcula : 参考idea中的darcula的主题
# atom-dark : 参考Atom的dark主题
# atom-light : 参考Atom的light主题
# github : 参考GitHub版的高亮主题
# github-gist : GitHub-Gist主题
# brown-paper : 牛皮纸效果
# gruvbox-light : gruvbox的light主题
# gruvbox-dark : gruvbox的dark主题
# rainbow :
# railscasts :
# sunburst :
# kimbie-dark :
# kimbie-light :
# school-book : 纸张效果
# zenbum : oschina 也选择此高亮主题
# MathJax 数学公式支持
mathjax:
on: true #是否启用
per_page: false # 若只渲染单个页面,此选项设为false,页面内加入 mathjax: true
##############################
# 友情链接
friends:
青楼: http://OrexZ.github.io
泰晓科技: http://tinylab.org
##########评论设置#############
comment:
#on: false
on: true
type: gitalk # 评论系统:gitalk、disqus、gentie、gitment,注意:使用时,在下方对应位置进行配置
#type: gitment # 评论系统:gitalk、disqus、gentie、gitment,注意:使用时,在下方对应位置进行配置
comment_count: true # 文章标题下方显示评论数
preload_comment: false # 预加载评论区
## false: 当点击评论条等区域时再加载评论模块
## true: 页面加载时加载评论区
# 各评论系统配置 ↓↓
disqus:
shortname:
# disqus评论系统, 2016年9月被GFW认证,大陆不能使用。
# 获取shortname:https://help.disqus.com/customer/en/portal/articles/466208-what-s-a-shortname-
gentie:
product_key:
# 网易云跟帖评论系统,https://gentie.163.com/
# 注册后,进入后台管理,获取代码:复制其中的productKey到product_key中。
# 网易云跟帖暂时不支持查询评论数,所以启用时,把评论数关掉,上方comment_count: false。
gitalk:
githubID: OrexZ
repo: OrexZ.github.io
ClientID: f21515edf63e394f9a79
ClientSecret: 4eec5a720671d80ee40a7d6dde007cae167fa530
adminUser: OrexZ
distractionFreeMode: true
language: zh-CN
perPage: 10
# gitalk:利用github issue制作的第三方聊天插件
# https://github.com/gitalk/gitalk
# 参数介绍:
# githubID: github用户名
# repo: 使用哪个仓库的issue
# ClientID 和 ClientSecret 创建 OAuth application 就会生成:https://github.com/settings/applications/new
# adminUser: 必须为上面仓库的合作者(有写入权限),使用自己的 github 用户名即可
# distractionFreeMode: 全屏遮罩效果
# language: 语言:支持:en / zh-CN / zh-TW 三种
# perPage: 每次加载的数据大小,默认10,最大100
gitment:
owner: OrexZ
repo: OrexZ.github.io
client_id: f21515edf63e394f9a79
client_secret: 4eec5a720671d80ee40a7d6dde007cae167fa530
# gitment : 通过github issue实现的评论系统
# 开源地址 : https://github.com/imsun/gitment
# 使用说明 :
# npm i --save gitment
##############################
##########CND设置#############
CDN:
jquery: //cdn.bootcss.com/jquery/2.2.4/jquery.min.js
jquery_cookie: //cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.min.js
jquery_ui: //cdn.bootcss.com/jqueryui/1.12.1/jquery-ui.min.js
jquery_ui_css: //cdn.bootcss.com/jqueryui/1.12.1/jquery-ui.min.css
highlight: //cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js
pjax: //cdn.bootcss.com/jquery.pjax/2.0.1/jquery.pjax.min.js
animate: //cdn.bootcss.com/animate.css/3.5.2/animate.min.css
font_awsome: //cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css
nprogres_js: //cdn.bootcss.com/nprogress/0.2.0/nprogress.min.js
mathjax: //cdn.bootcss.com/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML
photoswipe_js: //cdn.bootcss.com/photoswipe/4.1.2/photoswipe.min.js
photoswipe_ui_js: //cdn.bootcss.com/photoswipe/4.1.2/photoswipe-ui-default.min.js
photoswipe_css: //cdn.bootcss.com/photoswipe/4.1.2/photoswipe.min.css
photoswipe_skin_css: //cdn.bootcss.com/photoswipe/4.1.2/default-skin/default-skin.min.css
##############################