Repository navigation
Expand file tree
/
Copy path_config.yml.example
More file actions
174 lines (157 loc) · 4.21 KB
/
Copy path_config.yml.example
File metadata and controls
174 lines (157 loc) · 4.21 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
# Global 全局配置
site_analytics:
hoster: <a href="https://github.io" target="_blank">Github Pages</a>
site_logo:
snow: false
enable_dark: true
highlight_theme: night-eighties # 代码高亮主题(light | night | night-eighties | night-blue | night-bright)
cdn: false
check_update: true
# Index 首页配置
index:
post_type: false
read_count: true
comment_count: true
# Top Menu 顶部导航栏配置 (具体格式请参照文档)
menu:
index: /
archives: /archives/
friends: /friends/
sites:
submenu: true
author: https://candinya.com
project: https://github.com/Candinya/Kratos-Rebirth
label:
index: <i class="fa fa-home"></i>首页
archives: <i class="fa fa-file"></i>档案馆
friends: <i class="fa fa-paw"></i>好伙伴
sites:
submenu: <i class="fa fa-link"></i>链接
author: 作者博客
project: 项目链接
# Footer 页脚配置
group_link:
contact:
weibo:
mail:
telegram: CandyUnion
twitter:
facebook:
linkedin:
fediverse:
instance: nya.one
username: Candinya
github: Candinya
rss:
timenotice: 本站已运行
icp:
psr:
# Post Page 文章页配置
posts:
show_cc: true
donate: false
share: true
comments:
# Disqus [Disqus](https://disqus.com) 评论相关
disqus:
shortname:
# DisqusJS [DisqusJS](https://disqusjs.skk.moe/) 评论相关
disqusjs:
shortname:
sitename:
api:
apikey:
admin:
adminlabel:
# Valine [Valine](https://valine.js.org) 评论相关
valine:
app_id:
app_key:
visitor: true
enableQQ: false
# Twikoo [Twikoo](https://twikoo.js.org) 评论相关
twikoo:
env_id:
# Waline [Waline](https://waline.js.org) 评论相关
## 不仅限于以下内容,您可以参照 Waline的 [前端配置文档](https://waline.js.org/client/basic.html) 设置您需要的配置项
## el 和 path 会在页面自动生成,不必加入
waline:
serverURL: #后端服务器地址,必填
visitor: true
# APlayer 左下角音乐播放器
aplayer:
enabled: true
playlist:
meting:
server: netease
type: playlist
id: 3204190542
order: random
# Widgets 侧边栏小挂件
sidebar: right
widgets:
- about
- splitter
- toc
- category
- tagcloud
- posts
avatarUri: /images/avatar.webp
mobile_toc:
hide: false
hide_id: false
# Fancybox 文章内图片单击放大
fancybox: true
# Search 搜索
search:
enable: true
path: search.json
field: post # page | post | all. Default post
content: true # Include post | page content
# JavaScript 相关配置
## 由于Javascript被压缩后难以有效编辑与生成,因而为了简化操作,将相关的配置项在生成文件时以独立的json文件写出,调用时使用fetch API获取。
jsconfig:
main:
pic:
CDN: true # 表示使用 CDN 加载图片
random_amount: 20 # 表示从1~20
filename: "images/thumb/thumb_{no}.webp" # 相对于主题根目录,表示文件名的格式, {no} 用以指代随机的编号。
# 如果包含 // 表示使用指定域名的绝对路径(例如第三方图床服务等),那么会忽略 CDN 选项
createTime: "2018/05/06 17:03:12"
donateBtn: "支持我~"
scanNotice: "扫一扫,好不好?"
qr_alipay: "/images/alipayqr.webp"
qr_wechat: "/images/wechatpayqr.webp"
siteLeaveEvent: false
leaveTitle: "{{{(>_<)}}}哦哟,崩溃啦~"
returnTitle: "(*´∇`*)欸,又好啦~"
copyrightNotice: "该内容采用 CC BY-NC-SA 4.0 许可协议,著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"
expire_day: 30
topNavScrollToggle: true
# Site verify 站点验证相关配置内容
site_verify:
google:
baidu:
bing:
# Friends 友链相关内容
friends:
href: "friends"
page:
title: "好伙伴们"
comments: false
description: "好伙伴们在哪里~"
updated: "2021-01-18"
list:
- name: "猫猫①号"
bio: "喵~"
avatar: "../images/avatar.webp"
link: "#"
- name: "猫猫②号"
bio: "喵喵~"
avatar: "../images/avatar.webp"
link: "#"
- name: "猫猫⑨号"
bio: "咪啪~"
avatar: "../images/avatar.webp"
link: "#"
verify: true # 验证每个友链的可访问性,炸了会有提示