-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
191 lines (169 loc) · 5.24 KB
/
config.toml
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
# Alice parameters
[params]
mainSections = ["posts"]
dateFmt = "2006-01-02"
license = ""
# Default meta information for SEO
[params.seo]
title = "Your site title"
author = "Your name"
description = "Your site description"
keywords = ["your", "site", "keywords"]
[params.header]
blogo = "HugoAliceLogo.webp"
title = "Hugo Alice"
tagline = "so damn classic"
[params.footer]
# Should display site generator (Hugo) and theme (Alice) 🥰
showHugoAlice = true
# Copy{left,right} statement, HTML is allowed
copymid = "Your copy{left,right} statement."
# License statement, HTML is allowed
license = "Your site license statement."
# Creation year of your site
since = 1970
# Creator name, HTML is allowed
creator = "somebody"
[params.home]
[params.home.pagination]
# Only posts in given sections will be paginated
sections = ["posts"]
# The number of posts per page
pagerSize = 5
# Previous indicator, HTML is allowed
prev = "«"
# Next indicator, HTML is allowed
next = "»"
# First indicator, HTML is allowed
first = "««"
# Last indicator, HTML is allowed
last = "»»"
[params.home.sidebar]
[[params.home.sidebar.items]]
id = "news"
title = "News"
weight = 1
[params.home.sidebar.items.args]
size = 5
dateFmt = "2006-01-02"
# Delimiter between date and news, HTML is allowed
delimiter = " "
[[params.home.sidebar.items]]
# Will be your side item template name and html element id
id = "recent-updates"
title = "Recent Updates"
weight = 2
[params.home.sidebar.items.args]
size = 5
dateFmt = "2006-01-02"
# Delimiter between date and post title, HTML is allowed
delimiter = " "
[[params.home.sidebar.items]]
id = "tag-list"
title = "Tags"
weight = 3
[params.home.sidebar.items.args]
size = 10
delimiter = " "
# Sort by {count | random}, default is count
sortBy = "count"
[[params.home.sidebar.items]]
id = "category-list"
title = "Categories"
weight = 4
[params.home.sidebar.items.args]
size = 5
delimiter = " "
# Sort by {count | random}, default is count
sortBy = "count"
[params.codeblock]
maxLinesOfCode = 64
[params.tex]
# mathjax or katex
engine = 'mathjax'
inlineBeginDelimiter = ''
inlineEndDelimiter = ''
blockBeginDelimiter = ''
blockEndDelimiter = ''
[params.imgproc]
enable = false
maxWidth = 1280
maxHeight = 1280
format = 'webp'
# 0-100
quality = 75
[params.lightbox]
# fancybox or glightbox
vendor = 'fancybox'
[params.comment]
# the only choice
vendor = 'waline'
# Hugo parameters with Alice default initialization
[markup]
defaultMarkdownHandler = "goldmark"
[markup.goldmark.renderer]
unsafe = true
[markup.goldmark.parser]
wrapStandAloneImageWithinParagraph = false
[markup.goldmark.parser.attribute]
block = true
title = true
[markup.highlight]
anchorLineNos = false
codeFences = true
guessSyntax = true
hl_Lines = ''
hl_inline = false
lineAnchors = ''
lineNoStart = 1
lineNos = false
lineNumbersInTable = true
noClasses = false
noHl = false
tabWidth = 4
[markup.tableOfContents]
startLevel = 2
endLevel = 4
ordered = false
[markup.goldmark]
[markup.goldmark.extensions.typographer]
emDash = '──'
leftDoubleQuote = '"'
rightDoubleQuote = '"'
leftSingleQuote = "'"
rightSingleQuote = "'"
[menu]
[[menu.main]]
identifier = "home"
name = "Home"
url = "/"
weight = 1
[[menu.main]]
identifier = "posts"
name = "Posts"
url = "/posts/"
weight = 2
[[menu.main]]
identifier = "categories"
name = "Categories"
url = "/categories/"
weight = 3
[[menu.main]]
identifier = "tags"
name = "Tags"
url = "/tags/"
weight = 4
[[menu.main]]
identifier = "about"
name = "About"
url = "/about/"
weight = 5
[[menu.main]]
identifier = "rss"
name = "RSS"
url = "/index.xml"
weight = 6
[sitemap]
changefreq = 'weekly'
filename = 'sitemap.xml'
priority = 0.5