-
Notifications
You must be signed in to change notification settings - Fork 7
/
_config.yml
244 lines (213 loc) · 6.96 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
238
239
240
241
242
243
244
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: 郭泽宇的博客 (@ZE3kr)
subtitle: ''
description: '这里发布以科技、编程、摄影为主的原创文章、视频、图片等。'
keywords:
author: James Guo
language: zh-CN
timezone: 'Asia/Shanghai'
# URL
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
url: https://www.guozeyu.com
permalink: :year/:month/:title/
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
trailing_html: true # Set to false to remove trailing '.html' from permalinks
# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render:
# Writing
new_post_name: :year-:month-:day-:title.md # File name of new posts
default_layout: post
titlecase: false # Transform title into titlecase
external_link:
enable: true # Open external links in new tab
field: site # Apply to the whole site
exclude: ''
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
enable: false
line_number: true
auto_detect: false
tab_replace: ''
wrap: true
hljs: false
prismjs:
enable: false
preprocess: true
line_number: true
tab_replace: ''
# Home page setting
# path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
index_generator:
path: ''
per_page: 10
order_by: -date
# Category & Tag
default_category: uncategorized
category_map:
tag_map:
# Metadata elements
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true
# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD
time_format: HH:mm:ss
## updated_option supports 'mtime', 'date', 'empty'
updated_option: 'mtime'
# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page
# Include / Exclude file(s)
## include:/exclude: options only apply to the 'source/' folder
include:
- _headers
- _redirects
exclude:
ignore:
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: hexo-theme-claudia
# Deployment
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
type: git
repo:
bj1-aws: [email protected]:~/sync/GuoZeyu.com.git,main
hk1-ali: [email protected]:~/sync/GuoZeyu.com.git,main
us1-gcp: ~/sync/GuoZeyu.com.git,main
de1-ovh: [email protected]:~/sync/GuoZeyu.com.git,main
feed:
enable: true
type: atom
path: feed.atom
limit: false
hub:
theme_config:
title: 郭泽宇 (@ZE3kr)
short: 博客
short2: ZE3kr
piwik: 3
# main menu navigation
menu:
主页: /
About: /about/
友链: /links/
English: https://www.ze3kr.com/
# Archive: /archives
license: |-
<a href="https://creativecommons.org/licenses/by-sa/4.0/deed.zh" target="_blank" rel="noopener nofollow">CC BY-SA 4.0</a>
highlight: true
widgets:
- tag
- category
- profile
- adsense
ads:
- title: 域名注册首年 ¥16.5
link: https://www.yangxi.tech
content: |-
<img class="mb-1" src="https://cdn.tlo.xyz/6T-behmofKYLsxlrK0l_MQ/53f2e58c-bb33-4840-6c42-5c974c021001/medium" width="800" height="667"/>
<ul>
<li>.SHOP 首年 ¥14.3</li>
<li>.COM ¥93.6/年</li>
<li>支付宝/微信/花呗 3 期免息</li>
<li>免实名 + 免费隐私保护</li>
<li>免费企业邮箱与全局转发</li>
</ul>
- title: 虚拟主机 ¥13.2/月
link: https://www.yangxi.tech/web-hosting/index.php
content: |-
<!--<img class="mb-1" src="https://cdn.tlo.xyz/6T-behmofKYLsxlrK0l_MQ/06c2f2ed-b125-4fa2-8390-2876cd7c4c01/medium" width="800" height="676"/> -->
<ul>
<li>为中国大陆访问优化</li>
<li>支付宝/微信/花呗 3 期免息</li>
<li>免实名/免备案/支持SSL</li>
<li>一键安装 WordPress</li>
</ul>
# adsense: ca-pub-5523331422060800
adb: |-
<h3>哦不!😭你似乎拦截了本站的广告</h3>
<p>本站依赖广告进行创收,请考虑关闭广告拦截插件,以帮助本站持续发展。关闭后此内容将会自动消失。<a href="/ads/">了解更多</a></p>
<picture>
<source src="https://cdn.tlo.xyz/6T-behmofKYLsxlrK0l_MQ/c6419187-0e06-4245-82bb-5142f277f501/extra" media="(prefers-color-scheme: dark)" width="1148" height="752">
<source src="https://cdn.tlo.xyz/6T-behmofKYLsxlrK0l_MQ/c31a88d5-dd23-448d-4742-a0c2dc67c001/extra" media="(prefers-color-scheme: light)" width="1152" height="756">
<img src="https://cdn.tlo.xyz/6T-behmofKYLsxlrK0l_MQ/c31a88d5-dd23-448d-4742-a0c2dc67c001/extra" alt="关闭广告屏蔽示例" width="1152" height="756" data-raw="true"/>
</picture>
iframe: https://www.ze3kr.com/widget/
# links_title: 支持本站
# links:
# - title: 关闭广告屏蔽/内容过滤
# url: /ads/
# domain: 谢谢
# tloC: true
# - title: 域名注册
# url: https://www.yangxi.tech
# domain: 免费企业邮箱
# tloB: true
# - title: 香港 CN2 虚拟主机
# url: https://www.yangxi.tech/web-hosting/index.php
# domain: ¥9.6/月
# - title: 2核2GB SSD VPS
# url: https://www.yangxi.tech/virtualserverlinux-hosting.php
# domain: ¥34.8/月
# social config
social:
# twitter: ZE3kr
# instagram: ZE3kr
mastodon: https://mastodon.tlo.xyz/@ZE3kr
# matrix: https://matrix.to/#/@james:matrix.tlo.xyz
telegram: ZE3kr
github: ZE3kr
email: [email protected]
user:
name: 郭泽宇
avatar: https://cdn.tlo.xyz/6T-behmofKYLsxlrK0l_MQ/4c3b6ecd-c2ad-42e7-0e3e-3077ef7de401/medium
location: Duke University
description: 🎯 专注中
footnotes: |-
<a href="https://beian.miit.gov.cn/" target="_blank" class="has-text-grey">京ICP备17005542号-3</a>
# documents: https://github.com/utterance/utterances
# API config: https://utteranc.es/
comment_utteranc:
enable: true
repo: ZE3kr/guozeyu.com
# documents: https://valine.js.org/quickstart.html
comment_valine:
enable: false
appId:
appKey:
comment_disqus:
enable: false
url: # the url of your website main domain like this https://xxx.xxx/
name: # the short name in disqus
# dark
# light
# user-can-set
appearance: auto # Default value is auto
# Miscellaneous
favicon: https://cdn.tlo.xyz/6T-behmofKYLsxlrK0l_MQ/4c3b6ecd-c2ad-42e7-0e3e-3077ef7de401/thumbnail
favicon_svg: /favicon.svg
# picture of about page
about_pic: https://cdn.tlo.xyz/6T-behmofKYLsxlrK0l_MQ/4c3b6ecd-c2ad-42e7-0e3e-3077ef7de401/extra