-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhugo.yaml
145 lines (132 loc) · 2.41 KB
/
hugo.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
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
baseURL: "https://tianheg.co/"
hasCJKLanguage: true
pluralizeListTitles: false
summaryLength: 42
title: "Tianhe Gao | 高天贺"
permalinks:
tags: "/tags/:slug/"
taxonomies:
tag: "tags"
frontmatter:
lastmod:
- lastmod
- :git
- :fileModTime
- :default
module:
hugoVersion:
min: "0.128.0"
mounts:
- source: assets
target: assets
- source: content
target: content
build:
cachebusters:
- source: 'layouts/.*'
target: css
- source: "(postcss|tailwind)\\.config\\.js"
target: css
markup:
goldmark:
extensions:
definitionList: true
footnote: true
linkify: true
strikethrough: true
table: true
taskList: true
typographer: false
parser:
autoHeadingID: true
autoHeadingIDType: "github"
attribute:
block: false
title: false
renderer:
hardWraps: false
unsafe: true
highlight:
codeFences: true
guessSyntax: true
lineNos: false
lineNumbersInTable: false
noClasses: false
noHl: false
tabWidth: 2
tableOfContents:
startLevel: 2
endLevel: 3
author:
avatar: "/icons/apple-touch-icon.png"
email: "[email protected]"
motto: "Knowing oneself, grasp the world"
website: "https://tianheg.co/"
related:
includeNewer: true
threshold: 80
toLower: true
indices:
- name: tags
weight: 100
- name: date
pattern: "2006"
weight: 90
- name: fragmentrefs
type: fragments
applyFilter: false
weight: 80
outputFormats:
SectionsRSS:
baseName: index
mediaType: "application/rss+xml"
SearchIndex:
mediaType: "application/json"
baseName: posts
outputs:
home:
- HTML
- SectionsRSS
- SearchIndex
page:
- HTML
section:
- HTML
taxonomy:
- HTML
term:
- HTML
services:
rss:
limit: 10
menu:
main:
- name: Home
pageRef: "/"
weight: 1
- name: Now
pageRef: "/now"
weight: 3
- name: GoToSocial
pageRef: "/gotosocial"
weight: 5
- name: Read
url: "https://read.tianheg.org"
weight: 7
- name: Tech
url: "/tags/tech/"
weight: 9
- name: Service
pageRef: "/service"
weight: 11
- name: Posts
pageRef: "/posts"
weight: 13
params:
# footnote
squareBrackets: true
## para
backToTopIcon: "arrow-up"
### TODO
enableBackToTop: true
enableJustify: false