-
Notifications
You must be signed in to change notification settings - Fork 0
/
hugo.toml
154 lines (127 loc) · 2.91 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
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
baseURL = 'https://blog.afzw.xyz/'
languageCode = 'zh-cn'
title = '若则随记'
paginate = 5
theme = 'PaperMod'
enableRobotsTXT = true
buildDrafts = false
buildFuture = false
buildExpired = false
googleAnalytics = "UA-123-45"
pygmentsUseClasses = true
disqusShortName = 'blog-afzw'
[minify]
disableXML = true
minifyOutput = true
[outputs]
home = ['html', 'rss', 'json']
rss = ['rss']
[params]
env = "production"
title = "若则随记"
description = "路在脚下,行则将至"
keywords = ["Blog", "Portfolio", "PaperMod"]
author = "afzw"
images = ["./assets/icon.png"]
DateFormat = "January 2, 2006"
defaultTheme = "auto"
disableThemeToggle = false
ShowReadingTime = true
ShowShareButtons = true
ShowPostNavLinks = true
ShowBreadCrumbs = true
ShowCodeCopyButtons = false
ShowWordCount = true
ShowRssButtonInSectionTermList = true
ShowFullTextinRss = true # specific to PaperMod
UseHugoToc = true
disableSpecial1stPost = false
disableScrollToTop = false
comments = true
hidemeta = false
hideSummary = false
showtoc = false
tocopen = false
[params.meta]
favicon = false
# [params.assets]
# favicon = "./assets/icon.png"
# favicon16x16 = "./assets/icon.png"
# favicon32x32 = "./assets/icon.png"
# apple_touch_icon = "./assets/icon.png"
# safari_pinned_tab = "./assets/icon.png"
[params.label]
text = "首页"
icon = "/apple-touch-icon.png"
iconHeight = 35
[[menu.main]]
identifier = "categories"
name = "分类"
url = "/categories/"
weight = 10
[[menu.main]]
identifier = "tags"
name = "标签"
url = "/tags/"
weight = 20
#[[menu.main]]
#identifier = "example"
# name = "example.org"
# url = "https://example.org"
# weight = 30
[params.profileMode]
enabled = false
title = "ExampleSite"
subtitle = "This is subtitle"
imageUrl = "<img location>"
imageWidth = 120
imageHeight = 120
imageTitle = "my image"
[[params.profileMode.buttons]]
name = "Posts"
url = "posts"
[[params.profileMode.buttons]]
name = "Tags"
url = "tags"
[params.homeInfoParams]
Title = "若则随记"
Content = "路在脚下,行则将至"
[[params.socialIcons]]
name = "github"
url = "https://github.com/afzw/"
[[params.socialIcons]]
name = "twitter"
url = "https://twitter.com/afzw_"
[[params.socialIcons]]
name = "zhihu"
url = "https://www.zhihu.com/people/_afzw"
[[params.socialIcons]]
name = "rss"
url = "https://blog.afzw.xyz/index.xml"
[params.analytics.google]
SiteVerificationTag = "XYZabc"
[params.analytics.bing]
SiteVerificationTag = "XYZabc"
[params.analytics.yandex]
SiteVerificationTag = "XYZabc"
[params.cover]
hidden = true
hiddenInList = true
hiddenInSingle = true
[params.editPost]
URL = "https://github.com/<path_to_repo>/content"
Text = "Suggest Changes"
appendFilePath = true
[params.fuseOpts]
isCaseSensitive = false
shouldSort = true
location = 0
distance = 1_000
threshold = 0.4
minMatchCharLength = 0
keys = ["title", "permalink", "summary", "content"]
[markup.highlight]
noClasses = false
[taxonomies]
tag = "tags"
category = "categories"