-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.yaml
116 lines (105 loc) · 2.58 KB
/
config.yaml
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
baseurl: https://icyleaf.com/
title: icyleaf
theme: nicesima
languageCode: zh-cn
defaultContentLanguage: zh-cn
disableHugoGeneratorInject: true
hasCJKLanguage: true
enableEmoji: true
enableRobotsTXT: true
# disqusShortname: icyleaf
canonifyURLs: true
pagination:
pagerSize: 20
params:
# global settings
homepage:
showProfile: true
showPosts: true
donate:
enable: true
description: 如果你觉得我的文章对你有帮助,欢迎打赏,这对我非常重要,谢谢!
alipay: images/donate/alipay.png
wechat: images/donate/wechat.png
author: icyleaf
avatar: images/icyleaf-icon.png
description: 日常写代码热爱户外的梦想家
subtitle: 你好,我是 icyleaf
since: 2005
mark: 🍺
enableComment: utteranc
hideHUGOSupport: true
hidePermalink: true
hideSeries: false
enableMath: false
showFullTextinRSS: true
googleAnalyticsUserID: G-TKQBZ7R259
# googleAnalyticsCloudflareWorker: https://cfga.icyleaf.com
utteranc:
repo: icyleaf/icyleaf.com # The repo to store comments
issueTerm: pathname
label: "✨💬✨"
theme: github-light
CrossOrigin: anonymous
async: true
# giscus:
# repo: icyleaf/icyleaf.com
# repoId: MDEwOlJlcG9zaXRvcnk1NDg4MDA5Mg==
# categoryId: DIC_kwDOA0VnXM4CQ0mH
# mapping: title
# theme: /css/themes/giscus.css
socials:
- name: github
link: https://github.com/icyleaf
- name: twitter
link: https://twitter.com/icyleaf
- name: mastodon
link: https://o3o.ca/@icyleaf
- name: linkedin
link: https://www.linkedin.com/in/icyleaf
- name: douban
link: https://www.douban.com/people/icyleaf
# posts settings
toc: true # 是否开启目录
permalinks:
posts: /:year/:month/:slug
page: /:filename
# disable all taxnomies
taxonomies:
# category: categories
series: series
tag: tags
# using process image in figure shortcode
assetDir: static
menu:
main:
- name: homelab 系列
weight: 60
identifier: homelab
url: /series/homelab
- name: 开源项目
weight: 80
identifier: projects
url: /projects
- name: 我的设备
weight: 90
identifier: gears
url: /gears
- name: 关于
weight: 95
identifier: about
url: /about
# - name: 订阅
# weight: 100
# identifier: feed
# url: /index.xml
pygmentsUseClasses: true # 使用自定义的代码高亮样式
markup:
highlight:
codeFences: true
anchorLineNos: false
guessSyntax: false
lineNos: true
lineNumbersInTable: false
noClasses: true
tabWidth: 2