-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.yml
231 lines (210 loc) · 5.83 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
# Hexo Configuration
# hexo -F --cleanDestinationDir
# local preview: hexo server -D
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# git push origin main:draft
# workflow: https://res.cloudinary.com/practicaldev/image/fetch/s--M_fHUEqA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/128hsgntnsu9bww0y8sz.png
# git@github.com:yunyit/yunyit.github.io.git
# cd themes/murasaki/ -> git pull
# gitmoji -c commit with emoji gitmoji.io
# git pull origin draft
# Site
title: YUNYI BLOG
subtitle: 得闲饮茶~~~
description: 这里是 Yunyi 的个人博客,基本上啥都写:开发心得分享,日常吐槽吹水,偶尔也会写点正经文字。
author: Yunyi
language: zh-Hans
timezone: UTC
# https://github.com/sbanwart/hexo-global-license
licenseType: by-nc-sa
licenseIconSize: normal
# https://github.com/sergeyzwezdin/hexo-generator-redirect
# front matter
# layout: post
# title: Page
# redirect_from:
# - /old-url1
# - /old-url2
# URL
url: https://yunyitang.me
root: /
permalink: :name/
permalink_defaults:
alias:
/en/: /
/zh/: /
# Directory
source_dir: source
public_dir: public
tag_dir: tag
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render: # Paths that will be copied to public raw, without being rendered.
# Writing
new_post_name: :year/:title.md
default_layout: post
titlecase: false
external_link:
enable: true
filename_case: 0
render_drafts: false
post_asset_folder: true
relative_link: false
future: true
syntax_highlighter:
updated_option: 'mtime'
# Category & Tag
default_category: uncategorized
category_map:
技术: tech
日常: life
随笔: essay
tag_map:
# 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
# Pagination
## Set per_page to 0 to disable pagination
per_page: 6
pagination_dir: page
archive_generator:
per_page: 40
yearly: true
monthly: true
daily: false
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: murasaki
sitemap:
path: sitemap.xml
feed:
type: atom # or rss2
path: atom.xml # or feed.xml
limit: 20
stylus:
compress: true
theme_config:
# https://twitter.com/imas_official/status/1287398983267049473
primary_color: '#41B349' # 玉髓绿
primary_color_dark: '#41B349' # https://color-term.com/traditional-color-of-china/7/index.html
favicon: "/favicon/favicon.ico" # https://www.tatlead.com/2021/06/21/How-to-add-favicon-on-Hexo-Aomori/
keywords: 'Yunyi, tech, blog, 博客, 独立博客, 技术博客'
canonical: true
expired_warning: true
menu_pages:
projects:
name: Academic
path: /academic/
archives:
name: 归档
path: /archives/
about:
name: 关于我
path: /about/
friends:
name: 朋友们
path: /friends/
menu_links:
resume:
name: Resume
path: /resume.pdf # https://notlsd.github.io/2017/05/06/blog-2-0-update/
github:
name: GitHub
path: https://github.com/yunyit
rss:
name: RSS Feed
path: /atom.xml
travellings:
name: 开往
path: https://www.travellings.cn/go.html
umami:
name: 流量统计
path: https://analytics.yunyitang.me/share/FfIxx6mpOlXSB7Ri/YUNYI%20BLOG
# moe:
# name: 跃迁
# path: https://travel.moe/go.html
toc: true
lazyload:
enable: true
loading_image: images/loading.jpg
giscus:
enable: true
repo: yunyit/yunyit.github.io
repo_id: R_kgDOKqkPYw
category: Comments
category_id: DIC_kwDOKqkPY84CceDi
mapping: url
strict: 0
reactions_enabled: 1
emit_metadata: 0
input_position: top
theme: preferred_color_scheme
lang: en
loading: lazy
umami:
enable: true # https://umami.is/docs/collect-data
script_url: https://analytics.yunyitang.me/script.js
website_id: 723064e0-45ba-457e-ab38-d2c8760da0cb # vercel deploy
# roll back to page top
autoprefixer:
enable: true
# hexo-hide-posts
# https://github.com/prinsss/hexo-hide-posts
hide_posts:
enable: true
filter: hidden
noindex: true
# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type: git
# Legacy repo
repo: git@github.com:yunyit/yunyit.github.io.git
branch: main
name: yunyi
email: yunyi.tang.820@gmail.com
# hexo-renderer-pandoc
pandoc:
args:
- '-f'
- 'markdown-implicit_figures'
- '-t'
- 'html'
- '--mathjax'
# Otherwise openGraphHelper fails to extract image tags
- '--wrap'
- 'none'
- '--no-highlight'
# hexo-filter-mathjax
mathjax:
tags: none # or 'ams' or 'all'
single_dollars: true # enable single dollar signs as in-line math delimiters
cjk_width: 0.9 # relative CJK char width
normal_width: 0.6 # relative normal (monospace) width
append_css: true # add CSS to pages rendered by MathJax
every_page: false # if true, every page will be rendered by MathJax regardless the `mathjax` setting in Front-matter
packages: # extra packages to load
extension_options:
# Don't process LaTeX commands outside of math mode
# processEnvironments: false
# you can put your extension options here
# see http://docs.mathjax.org/en/latest/options/input/tex.html#tex-extension-options for more detail
tikzjax:
# Enable TikZ rendering for all posts and pages.
# Or you can enable it per post by adding `tikzjax: true` to the front-matter.
every_page: true
# Add CSS to pages which contain TikZ graphs.
append_css: true
# URL of the font CSS file.
font_css_url: 'https://cdn.jsdelivr.net/npm/node-tikzjax@latest/css/fonts.css'
# Additional options that will be passed to node-tikzjax.
# See: https://github.com/prinsss/node-tikzjax/#usage
# tikzjax_options:
# showConsole: false