-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhugo.toml
126 lines (98 loc) · 2.28 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
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
baseURL = "https://wokron.github.io/"
title = "Wokron's Blog"
theme = "PaperMod"
paginate = 6
copyright = "©2022-2025 Yitang Yang. All rights reserved."
defaultContentLanguage = "zh"
enableRobotsTXT = true
buildDrafts = true
[taxonomies]
tag = "tags"
category = "categories"
series = "series"
[params]
env = "production"
description = "Wokron 的个人博客。记录学习、分享经验"
author = "Wokron"
keywords = ["blog", "code", "tutorial"]
ShowShareButtons = true
ShowReadingTime = true
ShowPostNavLinks = true
ShowBreadCrumbs = true
ShowCodeCopyButtons = true
ShowWordCount = true
ShowRssButtonInSectionTermList = true
showtoc = true
math = true
comments = true
[params.assets]
favicon = "/img/favicon/96x96.png"
favicon16x16 = "/img/favicon/16x16.png"
favicon32x32 = "/img/favicon/32x32.png"
[params.editPost]
URL = "https://github.com/wokron/wokron.github.io/blob/master/content"
Text = "阅读原文"
appendFilePath = true
[params.profileMode]
enabled = true
title = "Wokron 的博客"
subtitle = "学生党踩坑记录"
imageUrl = "/img/profile.jpeg"
imageTitle = "This is me"
[[params.profileMode.buttons]]
name = "我的帖子"
url = "/posts/"
[[params.profileMode.buttons]]
name = "系列文章"
url = "/series/"
[[params.socialIcons]]
name = "github"
title = "My Github Account"
url = "https://github.com/wokron"
[[params.socialIcons]]
name = "email"
title = "Send Me Email"
url = "mailto:stringcatwok@gmail.com"
[[params.socialIcons]]
name = "qq"
title = "My QQ Account"
url = "mailto:3160114036@qq.com"
[[menu.main]]
identifier = "categories"
name = "分类"
url = "/categories/"
weight = 5
[[menu.main]]
identifier = "tags"
name = "标签"
url = "/tags/"
weight = 10
[[menu.main]]
identifier = "archives"
name = "归档"
url = "/archives/"
weight = 15
[[menu.main]]
identifier = "search"
name = "搜索"
url = "/search/"
weight = 20
[[menu.main]]
identifier = "links"
name = "友链"
url = "/links/"
weight = 25
[[menu.main]]
identifier = "github"
name = "Github Repo"
url = "https://github.com/wokron/wokron.github.io"
weight = 30
[outputs]
home = ['HTML', 'RSS', 'JSON']
[markup.highlight]
noClasses = false
[markup.goldmark.extensions.passthrough]
enable = true
[markup.goldmark.extensions.passthrough.delimiters]
block = [['\[', '\]'], ['$$', '$$']]
inline = [['\(', '\)'], ['$', '$']]