-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
148 lines (124 loc) · 2.83 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
baseURL = "https://fity.me"
title = "Fity's Blog"
DefaultContentLanguage = "zh-cn" # Theme's display language, supports: en, fr, zh, zh-hant
languageCode = "zh-cn"
copyright = "All rights reserved."
# googleAnalytics = "UA-127996141-1"
enableRobotsTXT = true
buildDrafts = false
buildFuture = false
buildExpired = false
[[module.imports]]
path = "github.com/CaiJimmy/hugo-theme-stack/v3"
[languages]
[languages.zh-cn]
disabled = false
languageCode = "zh-cn"
languageName = "ZH"
weight = 0
[languages.zh-cn.params.homeInfoParams]
Title = "中年自救记录"
Content = "一名普通的贫穷码农,什么都不会。人到中年想自救。"
[languages.en]
disabled = false
languageCode = "en"
languageName = "EN"
weight = 1
[languages.en.params.homeInfoParams]
Title = "Wrinkly's poor life"
Content = "A poor wrinkly with nothing useful skills. Here's a birdview of my life."
[minify]
disableXML = true
minifyOutput = true
[params]
env = "production" # to enable google analytics, opengraph, twitter-cards and schema
mainSections = ["posts", ]
featuredImageField = "image"
rssFullContent = true
readingTime = true
[params.imageProcessing.cover]
Enabled = true
[params.imageProcessing.content]
Enabled = true
[params.sidebar.avatar]
Enabled = true
Local = true
Src = "images/avatar.jpg"
[params.Author]
email = "[email protected]"
name = "Fity Yang"
[params.article]
headingAnchor = true
math = true
readingTime = true
[[params.widgets.page]]
type = "toc"
[[widgets.homepage]]
type = "tag-cloud"
[params.artcle.license]
enabled = false
default = "Licensed under CC BY-NC-SA 4.0"
[params.comments]
enabled = true
provider = "waline"
[params.comments.waline]
serverURL = "https://comments.fity.me/"
[params.homeInfoParams]
Title = "中年自救记录"
Content = "一名普通的贫穷码农,什么都不会。人到中年想自救。"
[params.cover]
responsiveImages = true
linkFullImages = true
[[params.socialIcons]]
name = "GitHub"
url = "https://github.com/fity"
[[params.socialIcons]]
name = "Email"
url = "mailto:[email protected]"
[[params.socialIcons]]
name = "RSS"
url = "/index.xml"
[params.assets]
favicon = "/images/favicon.ico"
[markup]
[markup.highlight]
codeFences = true
guessSyntax = false
hl_Lines = ""
lineNoStart = 1
lineNos = false
lineNumbersInTable = true
noClasses = true
style = "perldoc"
tabWidth = 4
[taxonomies]
author = "Fity"
tag = "tags"
category = "categories"
series = "series"
[[menu.main]]
url = "/posts"
name = "Posts"
weight = 1
[[menu.main]]
url = "/categories"
name = "Categories"
weight = 2
[[menu.main]]
url = "/tags"
name = "Tags"
weight = 4
[[menu.main]]
url = "/about/"
name = "About"
weight = 5
[[menu.main]]
# url = "/index.xml"
# name = "RSS"
# weight = 6
[[menu.social]]
identifier = "github"
name = "Github"
url = "https://github.com/fity"
[menu.social.params]
icon = "brand-github"