-
Notifications
You must be signed in to change notification settings - Fork 3
/
hugo.yml
144 lines (135 loc) · 3.01 KB
/
hugo.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
# https://gohugo.io/getting-started/configuration/#configure-blackfriday
log: true
verbose: true
baseURL: https://linianhui.github.io/
languageCode: zh-cn
hasCJKLanguage: true
title: Timetombs
timeZone: Asia/Shanghai
params:
GitLastHash: ''
subTitle: 泛义的工具是文明的基础,而确指的工具却是愚人的器物
url:
repo:
home: https://github.com/linianhui/blog
commit: https://github.com/linianhui/blog/commit
blob: https://github.com/linianhui/blog/blob/main
blobSrc: https://github.com/linianhui/blog/blob/main/src
menu:
main:
- identifier: topic
name: 专题
url: /topic/
weight: 1
pre: '<i class="fa fa-folder"></i>'
- identifier: tag
name: 标签
url: /tag/
weight: 2
pre: '<i class="fa fa-tags"></i>'
- identifier: archive
name: 归档
url: /archive/
weight: 3
pre: '<i class="fa fa-archive"></i>'
- identifier: cnblogs
name: 博客园
url: https://linianhui.cnblogs.com
weight: 4
pre: '<img src="/asset/cnblogs.favicon.svg"/>'
- identifier: github
name: GitHub
url: https://github.com/linianhui/blog
weight: 5
pre: '<i class="fa fa-github"></i>'
topic: []
taxonomies:
tag: tag
sectionPagesMenu: topic
sitemap:
changefreq: always
filename: sitemap.xml
priority: 0.8
uglyURLs: false
relativeURLs: false
canonifyURLs: false
contentDir: src
layoutDir: .hugo/layout
staticDir: .hugo/static
assetDir: .hugo/asset
resourceDir: .hugo/resource
dataDir: .hugo/data
themesDir: .hugo/theme
publishDir: .www
metaDataFormat: yaml
frontmatter:
date:
- created_at
summaryLength: 168
enableEmoji: true
enableGitInfo: true
disableHugoGeneratorInject: true
enableRobotsTXT: true
markup:
tableOfContents:
startLevel: 1
endLevel: 6
highlight:
codeFences: true
hl_Lines: ''
lineNoStart: 1
lineNos: false
lineNumbersInTable: false
noClasses: true
# https://xyproto.github.io/splash/docs/longer/all.html
style: vs
tabWidth: 4
defaultMarkdownHandler: goldmark
goldmark:
extensions:
definitionList: true
footnote: true
linkify: true
strikethrough: true
table: true
taskList: true
typographer: false
parser:
attribute:
block: false
title: true
autoHeadingID: true
wrapStandAloneImageWithinParagraph: false
renderer:
hardWraps: true
unsafe: true
xHTML: true
minify:
disableCSS: false
disableHTML: false
disableJS: false
disableJSON: false
disableSVG: false
disableXML: false
minifyOutput: true
tdewolff:
css:
keepCSS2: true
precision: 0
html:
keepComments: false
keepConditionalComments: true
keepDefaultAttrVals: true
keepDocumentTags: true
keepEndTags: true
keepQuotes: false
keepWhitespace: false
js:
keepVarNames: false
precision: 0
json:
precision: 0
svg:
precision: 0
xml:
keepWhitespace: false