forked from mzlogin/mzlogin.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
214 lines (199 loc) · 4.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
# ---------------- #
# Main Configs #
# ---------------- #
baseurl:
url: https://imhjf.github.io
date_format: "ordinal"
title: 大鹅
subtitle: "今天天气晴"
description: "大鹅的记录"
keywords: 大鹅, hjf, imhjf, 鑫鸽
timezone: Asia/Shanghai
encoding: "utf-8"
# 页面左下角显示的年份
since: 2024
# 源码仓库,请替换成自己的
repository: imhjf/imhjf.github.io
# 对 css 和 js 资源的 cdn 加速配置
cdn:
jsdelivr:
enabled: false
# 可选组件配置
components:
# 分享
# weibo,qq,wechat,douban,qzone,linkedin,facebook,twitter
share:
enabled: false
hide-platforms: qq,facebook
# 不蒜子访问统计
busuanzi:
enabled: false
start_date: 2024-08-01
# My Popular Repositories
side_bar_repo:
enabled: true
limit: 5
# 文章字数统计
word_count:
enabled: true
# 页面右上角,以及「关于」页面的二维码
# 修改图片请替换 assets/images/qrcode.jpg
qrcode:
enabled: false
image_alt: 闷骚的程序员
# 维基索引页使用哪种视图,支持 列表(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: hjf
organization:
organization_url:
github_username: imhjf
location: Fujian, China
email: imhjf@qq.com
# ---------------- #
# 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
# ---------------- #
# INDEX #
# ---------------- #
index:
banner:
# 首页 banner 区文字颜色
color: "#fff"
# 首页导航栏文字颜色
nav-color: "rgba(255, 255, 255, .5)"
# 首页 banner 区背景颜色
background-color: "#4183c4"
# 首页 banner 区背景图片
# background-image: "/assets/images/octicons-bg.png"
# background-repeat: "no-repeat"
# background-size: "cover"
# ---------------- #
# 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
# !!!重要!!! 请修改下面这些信息为你自己申请的
# !!!Important!!! Please modify infos below to yours
# disqus 配置参考:https://disqus.com
disqus:
username:
# gitment 配置参考:https://imsun.net/posts/gitment-introduction/
gitment:
owner: imhjf
repo: blog-comments
oauth:
client_id: Ov23liWTMITdvuM23YaZ
client_secret: fbb62d7b11771dfd0816bde262a2512e940feb4b
# gitalk 配置参考:https://github.com/gitalk/gitalk#install
gitalk:
owner: mzlogin
repo: blog-comments
clientID: Ov23liWTMITdvuM23YaZ
clientSecret: fbb62d7b11771dfd0816bde262a2512e940feb4b
# utterances 配置参考:https://utteranc.es/
utterances:
repo: imhjf/blog-comments
# beaudar 配置参考:https://beaudar.lipk.org/
beaudar:
repo: imhjf/blog-comments
# giscus 配置参考:https://giscus.app/zh-CN
giscus:
repo: imhjf/blog-comments
repo-id: R_kgDOMfS5IA
category: Announcements
category-id: DIC_kwDOMfS5IM4ChZqg
# 在使用其它评论组件时可点击显示 Disqus
lazy_load_disqus : false
# ---------------- #
# Search #
# ---------------- #
simple_jekyll_search:
# 是否支持全文搜索
fulltext: false
# 最多显示多少条搜索结果
limit: 10
# ---------------- #
# Google #
# ---------------- #
google:
analytics_id: # G-20FLEG5Q2W
adsense:
enabled: false
footer: false
sidebar: false
sidebar-detail: false
content_header: false
content_footer: false