-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
188 lines (174 loc) · 4.37 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
# ---------------- #
# Main Configs #
# ---------------- #
baseurl:
url: https://wanjinhu.github.io
date_format: "ordinal"
title: Wanjin Hu (胡万金)
subtitle: "思考人生,探索世界,知行合一"
description: "There is only one heroism in the world: to see the world as it is and to love it. (世界上只有一种真正的英雄主义,那就是认清生活真相后依旧热爱生活。)"
keywords: Wanjin Hu, Blog
timezone: Asia/Shanghai
encoding: "utf-8"
# 页面左下角显示的年份
since: 2023
# 源码仓库,请替换成自己的
repository: wanjinhu/wanjinhu.github.io
# 对 css 和 js 资源的 cdn 加速配置
cdn:
jsdelivr:
enabled: false
# 可选组件配置
components:
# My Popular Repositories
side_bar_repo:
enabled: true
limit: 5
# 文章字数统计
word_count:
enabled: true
# 页面右上角,以及「关于」页面的二维码
# 修改图片请替换 assets/images/qrcode.jpg
qrcode:
enabled: true
image_alt: Wanjin Hu (胡万金)
# 维基索引页使用哪种视图,支持 列表(list)/分类(cate)
wiki:
view: cate
# 图片灯箱效果功能
fancybox:
enabled: false
# 压缩页面内容
compress_html:
clippings: all
comments: ["<!--", "-->"]
# 代码高亮风格,支持的 theme 列表见 https://github.com/mzlogin/rouge-themes
highlight_theme: github
# ---------------- #
# Author #
# ---------------- #
author: Wanjin Hu (胡万金)
organization:
organization_url:
github_username: wanjinhu
location: Shanghai, China
email: [email protected]
# ---------------- #
# Navigation #
# ---------------- #
navs:
-
href: /
label: 首页
-
href: /categories/
label: 分类
-
href: /archives/
label: 归档
mobile-hidden: true
-
href: /open-source/
label: 开源
mobile-hidden: true
# -
# href: /fragments/
# label: 片段
-
href: /wiki/
label: 维基
-
href: /links/
label: 链接
mobile-hidden: true
-
href: /about/
label: 关于
# ---------------- #
# RSS #
# ---------------- #
subscribe_rss: /feed.xml
# ---------------- #
# Jekyll #
# ---------------- #
markdown: kramdown
kramdown:
input: GFM
highlighter: rouge
paginate: 10
lsi: false
quiet: false
excerpt_separator: "\n\n"
permalink: /:year/:month/:day/:title/
plugins:
- jekyll-github-metadata
- rouge
# - jekyll-html-pipeline
- jekyll-paginate
- jekyll-sitemap
- jekyll-feed
- jemoji
# - jekyll-mentions
collections:
wiki:
output: true
permalink: /wiki/:path/
fragments:
output: true
permalink: /fragment/:path/
# ---------------- #
# Comments #
# ---------------- #
# support provider: disqus, gitment, gitalk, utterances, beaudar, giscus
comments_provider: giscus
# !!! 重要!!! 修改下面这些信息为你自己申请的
# disqus 配置参考:https://disqus.com
# disqus:
# username:
# gitment 配置参考:https://imsun.net/posts/gitment-introduction/
# gitment:
# owner: mzlogin
# repo: blog-comments
# oauth:
# client_id: d2e1cbbd298958076462
# client_secret: b42a4178e5fd4a7cf63189ef4b1453b05c375709
# gitalk 配置参考:https://github.com/gitalk/gitalk#install
# gitalk:
# owner: mzlogin
# repo: blog-comments
# clientID: d2e1cbbd298958076462
# clientSecret: b42a4178e5fd4a7cf63189ef4b1453b05c375709
# utterances 配置参考:https://utteranc.es/
# utterances:
# repo: mzlogin/blog-comments
# beaudar 配置参考:https://beaudar.lipk.org/
# beaudar:
# repo: mzlogin/blog-comments
# giscus 配置参考:https://giscus.app/zh-CN
giscus:
repo: wanjinhu/wanjinhu.github.io
repo-id: R_kgDOKJb3gA
category: Announcements
category-id: DIC_kwDOKJb3gM4CYvQX
# 在使用其它评论组件时可点击显示 Disqus
lazy_load_disqus : false
# ---------------- #
# Search #
# ---------------- #
simple_jekyll_search:
# 是否支持全文搜索
fulltext: true
# 最多显示多少条搜索结果
limit: 10
# ---------------- #
# Google #
# ---------------- #
# google:
# analytics_id: # G-20FLEG5Q2W
# adsense:
# enabled: false
# footer: false
# sidebar: false
# sidebar-detail: false
# content_header: false
# content_footer: false