-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.yml
206 lines (183 loc) · 5.28 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
baseURL: "https://www.liyangjie.cn/"
title: 仙羡小站
paginate: 5
theme: PaperMod
defaultContentLanguage: cn
outputs:
home:
- HTML
- RSS
- JSON # is necessary
enableInlineShortcodes: true
enableRobotsTXT: true
buildDrafts: false
buildFuture: false
buildExpired: false
enableEmoji: true
googleAnalytics: G-C6GDZ56F4S
minify:
disableXML: true
disableHTML: true
languages:
# 偷懒,直接使用en的国际化
cn:
languageName: "Chinese"
weight: 1
menu:
main:
- name: Archive
url: archives/
weight: 15
- name: Search
url: search/
weight: 16
- name: Tags
url: tags/
weight: 14
- name: Categories
url: categories/
weight: 13
# en:
# languageName: "English"
# weight: 1
# menu:
# main:
# - name: Archive
# url: archives
# weight: 15
# - name: Search
# url: search/
# weight: 16
# - name: Tags
# url: tags/
# weight: 14
# - name: Categories
# url: categories/
# weight: 13
outputs:
home:
- HTML
- RSS
- JSON
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
description: "SadBird的狗窝-工作、学习和生活"
author: SadBird
# author: ["Me", "You"] # multiple authors
keywords: ["仙羡", "SadBird", "Study"]
defaultTheme: auto
# disableThemeToggle: true
# ShowShareButtons: true
ShowReadingTime: true
ShowWordCount: true
ShowCodeCopyButtons: true
# disableSpecial1stPost: true
displayFullLangName: true
ShowPostNavLinks: true
ShowBreadCrumbs: true
ShowCodeCopyButtons: true
ShowToc: true
comments: false
hideFooter: true # 使用自定义footer(新增备案号),隐藏原footer
katex: false
images: ["https://i.loli.net/2021/09/26/3OMGXylm8HUYJ6p.png"] # link or path of image for opengraph, twitter-cards
# profileMode:
# enabled: false
# title: PaperMod
# imageUrl: "#"
# imageTitle: my image
# # imageWidth: 120
# # imageHeight: 120
# buttons:
# - name: Archives
# url: archives
# - name: Tags
# url: tags
homeInfoParams:
Title: "SadBird 的狗窝"
Content: >
怨无大小,生于所爱;物无美恶,过则为灾。
socialIcons:
- name: email
url: "mailto:[email protected]"
- name: telegram
url: "https://web.telegram.org/"
- name: RsS
url: "index.xml"
editPost:
URL: "https://github.com/YazidLee/hugo-backup/tree/master/content"
Text: "Suggest Changes" # edit text
appendFilePath: true # to append file path to Edit link
label:
text: "仙羡小站"
icon: img/earlybird.png
iconHeight: 30
assets:
disableHLJS: true
favicon: "/favicon/favicon.ico"
favicon16x16: "/favicon/favicon-16x16.png"
favicon32x32: "/favicon/favicon-32x32.png"
apple_touch_icon: "/favicon/apple-touch-icon.png"
safari_pinned_tab: "/favicon/safari-pinned-tab.svg"
# Verify your site ownership
analytics:
google:
SiteVerificationTag: "9Y3NHOxbRwaLb2hkR4GpapDQFWHBjXBYI585l_bLo6g"
# bing:
# SiteVerificationTag:
yandex:
SiteVerificationTag: "3975215bf5f68fc0"
baidu:
SiteVerificationTag: "codeva-k083EJGzuw"
cover:
hidden: true # hide everywhere but not in structured data
hiddenInList: true # hide on list pages and home
hiddenInSingle: false # hide on single page
# for search
# https://fusejs.io/api/options.html
# fuseOpts:
# isCaseSensitive: false
# shouldSort: true
# location: 0
# distance: 1000
# threshold: 0.4
# minMatchCharLength: 0
# keys: ["title", "permalink", "summary", "content"]
taxonomies:
category: categories
tag: tags
series: series
#pygmentsUseClasses: true
markup:
goldmark:
renderer:
unsafe: true
highlight:
# anchorLineNos: true
codeFences: true
guessSyntax: true
lineNos: true
# 设置noClasses为false需要手动生成css,放在assets/css/extended/中
# 生成方式为 hugo gen chromastyles --style=dracula > assets/css/extended/chroma.css,其中dracula可以更换为任意代码主题
noClasses: false
# noClasses为false时,style失效,因此必须手动生成css
style: monokai
privacy:
vimeo:
disabled: false
simple: true
twitter:
disabled: false
enableDNT: true
simple: true
instagram:
disabled: false
simple: true
youtube:
disabled: false
privacyEnhanced: true
services:
instagram:
disableInlineCSS: true
twitter:
disableInlineCSS: true