This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
forked from mmistakes/minimal-mistakes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
244 lines (218 loc) · 6.04 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
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your entire site, values
# which you are expected to set up once and rarely need to edit after that.
# For technical reasons, this file is *NOT* reloaded automatically when you use
# `jekyll serve`. If you change this file, please restart the server process.
# Theme Settings
#
# Review documentation to determine if you should use `theme` or `remote_theme`
# https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/#installing-the-theme
# theme : "minimal-mistakes-jekyll"
# remote_theme : "mmistakes/minimal-mistakes"
minimal_mistakes_skin : "dark"
# Site Settings
locale : "zh-CN"
title : "UltBlog"
title_separator : "|"
subtitle : "欢迎"
name : "Ultcrt"
description : "基于 Jekyll、minimal-mistakes、DecapCMS、Giscus、HITS 的个人博客。"
url : "https://ultcrt.github.io"
baseurl : "/UltBlog"
repository : "Ultcrt/UltBlog"
teaser : "/assets/images/site/default-teaser.png"
logo : "/assets/images/site/site-logo-transparent.png"
masthead_title : "Ultcrt的博客"
words_per_minute : 200
comments:
provider : "giscus"
giscus:
repo_id : "R_kgDOKIgaLg"
category_name : "Announcements"
category_id : "DIC_kwDOKIgaLs4CYtL9"
discussion_term : "pathname"
strict_matching : "1"
reactions_enabled : "1"
emit_metadata : "0"
input_position : "top"
theme : "dark"
language : "zh-CN"
loading : "lazy"
atom_feed:
path : # blank (default) uses feed.xml
hide : false
search : true
search_full_content : true # Will override lunr.search_within_pages and could impact page load performance.
search_provider : lunr
# SEO Related
google_site_verification : "GptLjqC2dp-6bfas7WQVmtwL7brtrcUNOXuYKH5MCcs"
bing_site_verification :
naver_site_verification :
yandex_site_verification :
baidu_site_verification :
# Social Sharing
twitter:
username : "Ultcrt"
facebook:
username : "Ultcrt"
app_id :
publisher :
og_image : "/assets/images/site/open-graph-default.png"
social:
type : "Person"
name : "Ultcrt"
links:
- "https://ultcrt.github.io/UltBlog/"
- "https://github.com/Ultcrt"
- "https://gitee.com/Ultcrt"
- "https://space.bilibili.com/6060911"
# Analytics
analytics:
provider : "google-gtag"
google:
tracking_id : "G-YHYGFV50FH"
anonymize_ip : false
# Site Author
author:
name : "Ultcrt"
avatar : "/assets/images/site/site-logo.png"
bio : "热爱开发和游戏,喜欢鼓捣电子设备。博客已转移至:https://www.ultserver.com/blog/"
location : "浙江 杭州"
email : "zhang_zhe_yuan@outlook.com"
links:
- label: "Github"
icon: "fab fa-fw fa-github"
url: "https://github.com/Ultcrt"
- label: "Gitee"
icon: "fas fa-fw fa-warehouse"
url: "https://gitee.com/Ultcrt"
- label: "BiliBili"
icon: "fas fa-fw fa-play"
url: "https://space.bilibili.com/6060911"
- label: "Steam"
icon: "fab fa-fw fa-steam"
url: "https://steamcommunity.com/id/Ultcrt"
# Site Footer
footer:
links:
- label: "Github"
icon: "fab fa-fw fa-github"
url: "https://github.com/Ultcrt"
- label: "Gitee"
icon: "fas fa-fw fa-warehouse"
url: "https://gitee.com/Ultcrt"
- label: "BiliBili"
icon: "fas fa-fw fa-play"
url: "https://space.bilibili.com/6060911"
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
url: "mailto:zhang_zhe_yuan@outlook.com"
- label: "Steam"
icon: "fab fa-fw fa-steam"
url: "https://steamcommunity.com/id/Ultcrt"
# Reading Files
include:
- .htaccess
- _pages
exclude:
- "*.sublime-project"
- "*.sublime-workspace"
- vendor
- .asset-cache
- .bundle
- .jekyll-assets-cache
- .sass-cache
- assets/js/plugins
- assets/js/_main.js
- assets/js/vendor
- Capfile
- CHANGELOG
- config
- Gemfile
- Gruntfile.js
- gulpfile.js
- LICENSE
- log
- node_modules
- package.json
- package-lock.json
- Rakefile
- README
- tmp
- /docs # ignore Minimal Mistakes /docs
- /test # ignore Minimal Mistakes /test
keep_files:
- .git
- .svn
encoding: "utf-8"
markdown_ext: "markdown,mkdown,mkdn,mkd,md"
# Conversion
markdown: kramdown
highlighter: rouge
lsi: false
excerpt_separator: "\n\n"
incremental: false
# Markdown Processing
kramdown:
input: GFM
hard_wrap: false
auto_ids: true
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6
smart_quotes: lsquo,rsquo,ldquo,rdquo
enable_coderay: false
# Sass/SCSS
sass:
sass_dir: _sass
style: compressed # https://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
# Outputting
permalink: /:categories/:title/
paginate: 5 # amount of posts to show
paginate_path: /page:num/
timezone: "Asia/Shanghai"
# Plugins (previously gems:)
plugins:
- jekyll-paginate
- jekyll-sitemap
- jekyll-gist
- jekyll-feed
- jekyll-include-cache
# mimic GitHub Pages with --safe
whitelist:
- jekyll-paginate
- jekyll-sitemap
- jekyll-gist
- jekyll-feed
- jekyll-include-cache
# Archives
category_archive:
type: liquid
path: /categories/
tag_archive:
type: liquid
path: /tags/
# HTML Compression
# - https://jch.penibelst.de/
compress_html:
clippings: all
ignore:
envs: development
# Defaults
defaults:
# _posts
- scope:
path: ""
type: posts
values:
layout: single
author_profile: true
read_time: true
comments: true
share: true
related: true
show_date: true
toc: true
toc_label: "Contents"
date_format: "%Y-%m-%d"