-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhugo.toml
52 lines (43 loc) · 1.39 KB
/
hugo.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
baseurl = "https://mathagape.com/"
title = "MathAgape" #显示在标签页的那个字
languageCode = "en-us"
theme = "mainroad"
[[menu.main]]
name = "Mathematics"
url = "/categories/mathematics/"
weight = 4
[[menu.main]]
name = "Web Dev"
url = "/categories/web-dev/"
weight = 2
[[menu.main]]
name = "Tech Tips"
url = "/categories/tech-tips/"
weight = 3
[Params.logo]
image = false
title = "MathAgape's Blog" #显示在网页顶端的那个字
subtitle = "Mathematics, Computer Science, and Philosophy Study Notes."
[Params.style.vars]
highlightColor = "#e22d30" #subtitle、subtitle下的装饰线、正文链接字颜色、鼠标略过标题颜色
[Params]
post_meta = ["author", "date", "categories", "translations"] #显示文章的日期等信息,这里不要随便加东西,尝试加tag会出错
[Params.sidebar] #显示边栏
home = "right"
list = "right"
single = "right"
widgets = ["categories", "taglist", "social"]
# [[Params.widgets.social.custom]] #自定义链接
# title = "[email protected]"
# url = "[email protected]"
# icon = false
[markup]
[markup.goldmark]
[markup.goldmark.extensions]
[markup.goldmark.extensions.passthrough]
enable = true
[markup.goldmark.extensions.passthrough.delimiters]
block = [['\[', '\]'], ['$$', '$$']]
inline = [['\(', '\)'], ['$', '$']]
[params]
math = true