-
Notifications
You must be signed in to change notification settings - Fork 1
/
_config.fluid.yml
211 lines (189 loc) · 7.64 KB
/
_config.fluid.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
#---------------------------
# 全局
# Global
#---------------------------
# 用于浏览器标签的图标
# Icon for browser tab
favicon: https://cdn.sxrekord.com/blog/favicon.ico
#---------------------------
# 页头
# Header
#---------------------------
navbar:
blog_title: 'Rekord'
menu:
- { key: 'home', link: '/', icon: 'iconfont icon-home-fill' }
- { key: 'archive', link: '/archives/', icon: 'iconfont icon-archive-fill' }
- { key: 'category', link: '/categories/', icon: 'iconfont icon-category-fill' }
- { key: 'tag', link: '/tags/', icon: 'iconfont icon-tags-fill' }
- { key: 'links', link: '/links/', icon: 'iconfont icon-link-fill' }
- { key: 'about', link: '/about/', icon: 'iconfont icon-user-fill' }
#---------------------------
# 页脚
# Footer
#---------------------------
footer:
# 页脚第一行文字的 HTML,建议保留 Fluid 的链接,用于向更多人推广本主题
# HTML of the first line of the footer, it is recommended to keep the Fluid link to promote this theme to more people
content: '
<a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a>
<i class="iconfont icon-love"></i>
<a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a>
<br><a href="https://beian.miit.gov.cn/" target="_blank">湘ICP备2021007111号</a>
<br>
<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=43010302001326" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
<img src="https://cdn.sxrekord.com/blog/beian.png" style="float:left;"/>
<p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">湘公网安备 43010302001326号</p>
</a>
<br><a href="https://www.foreverblog.cn/go.html" target="_blank"> <img src="https://img.foreverblog.cn/wormhole_1.gif" alt="" style="width:auto;height:30px;" title="穿梭虫洞-随机访问十年之约友链博客"></a>
<a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener" title="开往-友链接力">
<img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120">
</a>
'
# 展示网站的 PV、UV 统计数
# Display website PV and UV statistics
statistics:
enable: false
# 统计数据来源,如果使用 leancloud 需要设置 `web_analytics: leancloud` 中的参数;如果使用 busuanzi 可能会有请求失败的情况
# Data source. If use leancloud, you need to set the parameter in `web_analytics: leancloud`
# Options: busuanzi | leancloud
source: "leancloud"
#---------------------------
# 首页
# Index Page
#---------------------------
index:
# 首页副标题的独立设置
# Independent config of home page subtitle
slogan:
enable: true
# 为空则按 hexo config.subtitle 显示
# If empty, text based on `subtitle` in hexo config
text: "Welcome to Rekord's Blog!"
#---------------------------
# 文章页
# Post Page
#---------------------------
post:
# 在文章开头显示文章更新时间,该时间默认是 md 文件更新时间,可通过 front-matter 中 `updated` 手动指定(和 date 一样格式)
# Update date is displayed at the beginning of the post. The default date is the update date of the md file, which can be manually specified by `updated` in front-matter (same format as date)
updated:
enable: true
# 格式参照 ISO-8601 日期格式化
# ISO-8601 date format
# See: http://momentjs.cn/docs/#/parsing/string-format/
date_format: "LL a"
# 是否使用相对时间表示,比如:"3 天前"
# If true, it will be a relative time, such as: "3 days ago"
relative: false
# 提示标签类型
# Note class
# Options: default | primary | info | success | warning | danger | light
note_class: info
# 版权声明,会显示在每篇文章的结尾
# Copyright, will be displayed at the end of each post
copyright:
enable: false
# CreativeCommons license
# Options: BY | BY-SA | BY-ND | BY-NC | BY-NC-SA | BY-NC-ND
license: 'BY'
comments:
enable: true
# type: gitalk
type: waline
#---------------------------
# 评论插件
# Comment plugins
#
# 开启评论需要先设置上方 `post: comments: enable: true`,然后根据 `type` 设置下方对应的评论插件参数
# Enable comments need to be set `post: comments: enable: true`, then set the corresponding comment plugin parameters below according to `type`
#---------------------------
# Waline
# 从 Valine 衍生而来,额外增加了服务端和多种功能
# Derived from Valine, with self-hosted service and new features
# See: https://waline.js.org/
waline:
serverURL: https://rekord-blog-vercel-3yz2c6gdm-crazyokds-projects.vercel.app/
path: window.location.pathname
meta: ['nick', 'mail', 'link']
requiredMeta: ['nick']
lang: 'zh-CN'
emoji: ['https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo']
dark: 'html[data-user-color-scheme="dark"]'
wordLimit: 0
pageSize: 10
# Gitalk
# 基于 GitHub Issues
# Based on GitHub Issues
# See: https://github.com/gitalk/gitalk#options
gitalk:
clientID: b640e2db71a95cb19b24
clientSecret: f095962d7b7040d25063c4713b8dfe4c6441b78e
repo: rekord-blog
owner: Crazyokd
admin: Crazyokd
language: zh-CN
labels: ['Gitalk']
perPage: 10
pagerDirection: last
distractionFreeMode: false
createIssueManually: true
# 默认 proxy 可能会失效,解决方法请见下方链接
# The default proxy may be invalid, refer to the links for solutions
# https://github.com/gitalk/gitalk/issues/429
# https://github.com/Zibri/cloudflare-cors-anywhere
proxy: https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token
#---------------------------
# 关于页
# About Page
#---------------------------
about:
banner_img: https://fluid.s3.bitiful.net/bg/4xvpqo.png?w=1920&fmt=webp
avatar: https://cdn.sxrekord.com/blog/logo.jpg
name: Rekord
introduce: Stay Hungry. Stay Foolish.
# 更多图标可从 https://hexo.fluid-dev.com/docs/icon/ 查找,`class` 代表图标的 css class,添加 `qrcode` 后,图标不再是链接而是悬浮二维码
# More icons can be found from https://hexo.fluid-dev.com/docs/en/icon/ `class` is the css class of the icon. If adding `qrcode`, The icon is no longer a link, but a hovering QR code
icons:
- { class: 'iconfont icon-github-fill', link: 'https://github.com/Crazyokd', tip: 'GitHub' }
- { class: 'iconfont icon-steam', link: 'https://steamcommunity.com/id/crazyokd', tip: 'Steam' }
- { class: 'iconfont icon-rss', link: 'atom.xml', tip: 'Steam' }
#---------------------------
# 404页
# 404 Page
#---------------------------
page404:
enable: true
banner_img: https://fluid.s3.bitiful.net/bg/g8xjqe.png?w=1920&fmt=webp
#---------------------------
# 友链页
# Links Page
#---------------------------
links:
enable: true
banner_img: https://fluid.s3.bitiful.net/bg/73twhs.png?w=1920&fmt=webp
items: # intro 与 image 可省略
- {
title: 'KARPED1EM',
intro: '咔皮呆的小窝',
link: 'https://leever.cn/',
image: 'https://leever.cn/images/pages/Avatar.webp'
}
- {
title: 'Install Fluid',
intro: '安装主题',
link: 'https://hexo.fluid-dev.com/docs/start/',
image: '/img/favicon.png'
}
- {
title: 'Fluid Docs',
intro: '主题使用指南',
link: 'https://hexo.fluid-dev.com/docs/',
image: '/img/favicon.png'
}
- {
title: 'Fluid Repo',
intro: '主题 GitHub 仓库',
link: 'https://github.com/fluid-dev/hexo-theme-fluid',
image: '/img/favicon.png'
}