forked from FuShaoLei/hexo-theme-white
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_config.yml
More file actions
147 lines (121 loc) · 4.69 KB
/
_config.yml
File metadata and controls
147 lines (121 loc) · 4.69 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
############## style ##############
style:
layout:
max-width: 1130px #总体宽度
post-max-width: 800px #文章内容宽度
color:
theme-main: "#1A98FF" # 主色调
theme-secondary: "#DDF0FF" # 次色调
text-main: "#333333" # 文字主色调
text-secondary: "#898FA0" # 文字次色调
animation:
open: true # 如果开启动画的话会引入animation.css
########## 关于主页的设置 ##########
# home页可选类型
home:
type: "home" # 主页的类型,可选 home | img | simple
# archive页可选类型
archive:
type: "img" # archive的类型,可选 img | simple
categories:
type: "img" # archive的类型,可选 img | simple
tags:
type: "img" # archive的类型,可选 img | simple
archive_img_mode:
default_cover: #默认的cover
- https://cdn.jsdelivr.net/gh/fushaolei/cdn-white@1.0/cover/01.jpg
- https://cdn.jsdelivr.net/gh/fushaolei/cdn-white@1.0/cover/02.jpg
- https://cdn.jsdelivr.net/gh/fushaolei/cdn-white@1.0/cover/03.jpg
- https://cdn.jsdelivr.net/gh/fushaolei/cdn-white@1.0/cover/04.jpg
- https://cdn.jsdelivr.net/gh/fushaolei/cdn-white@1.0/cover/05.jpg
- https://cdn.jsdelivr.net/gh/fushaolei/cdn-white@1.0/cover/06.jpg
- https://cdn.jsdelivr.net/gh/fushaolei/cdn-white@1.0/cover/07.jpg
- https://cdn.jsdelivr.net/gh/fushaolei/cdn-white@1.0/cover/08.jpg
- https://cdn.jsdelivr.net/gh/fushaolei/cdn-white@1.0/cover/09.jpg
- https://cdn.jsdelivr.net/gh/fushaolei/cdn-white@1.0/cover/10.jpg
- https://cdn.jsdelivr.net/gh/fushaolei/cdn-white@1.0/cover/11.jpg
- https://cdn.jsdelivr.net/gh/fushaolei/cdn-white@1.0/cover/12.jpg
- https://cdn.jsdelivr.net/gh/fushaolei/cdn-white@1.0/cover/13.jpg
- https://cdn.jsdelivr.net/gh/fushaolei/cdn-white@1.0/cover/14.jpg
- https://cdn.jsdelivr.net/gh/fushaolei/cdn-white@1.0/cover/15.jpg
# icon
icon: #标签页图标
# header
site_name: white.
site_description: A minimalist theme for hexo. #The default meta description for all the meta descriptions
#Add description property to any page to change the meta description
menu:
HOME: /
BLOG: /archives
## 本地搜索
search:
open: false # 是否开启
page: /search # 页面路径(通常命名为search)
# 自我介绍
intro:
title: Hi.I'm White.
sub: 'A [White](https://github.com/FuShaoLei/hexo-theme-white) theme for [Hexo](http://hexo.io/)' # markdown语法
avator: https://cdn.jsdelivr.net/gh/fushaolei/img/20200524104925.jpg #头像 暂时还没用到
author: white #所有文章的默认作者
#联系方式
#更多图标:https://remixicon.com/
contact:
Github:
- https://github.com/FuShaoLei/hexo-theme-white
- ri-github-line
Email:
- mailto:1563250958@qq.com
- ri-mail-line
########## 关于文章的设置 ##########
# 文章toc索引栏设置
toc:
open: true # 是否开启
side: true # 选择toc的位置,填true的话toc将会显示在文章的侧边,填false的话 toc将出现在文章的开头
max: 2 #最大深度
min: 2 #最小深度
# 插件
plugins:
# 代码高亮,想要使用代码高亮,得先把根目录的_config.yml里的highlight的enable置成false
highlightjs:
js: https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.18.1/build/highlight.min.js
css: https://cdn.jsdelivr.net/npm/highlight.js@10.1.1/styles/github.css
# more: https://www.jsdelivr.com/package/npm/highlight.js?path=styles
# 评论系统设置
comments:
open: false #是否开启评论系统
system: gitalk #选择评论系统 可选 valine gitalk livere
# Valine
valine:
appid: #Leancloud应用的AppID 这里和下面的要换成你自己的啊QAQ
appkey: #Leancloud应用的AppKey
verify: false #验证码
notify: true #评论回复提醒
avatar: robohash #评论列表头像样式:''/mm/identicon/monsterid/wavatar/retro/hide
#头像类型可见: https://valine.js.org/avatar.html
placeholder: 留下你来过的痕迹~ #评论框占位符
# Gitalk
gitalk:
owner: #Github 用户名,
repo: #储存评论issue的github仓库名
admin: #Github 用户名
clientID: #`Github Application clientID`
clientSecret: #`Github Application clientSecret`
#livere
livere: # 前往 http://livere.com/ 申请账号
dataId: city #免费版本city
dataUid: #安装代码中 data-uid 后面数据
pagination:
prev: prev
next: next
############## 其他 ##############
# 页脚
footer: Power by [Hexo](http://hexo.io/) Theme by [White](https://github.com/FuShaoLei/hexo-theme-white) # markdown语法
#有分类时是否开启menu分类页和自定义名字
menu_categories:
open: true
name: 分类
#可自定义归档标签页名字
archive_tab_name: Blog
#图片懒加载
lazyload:
open: true #是否开启