-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
270 lines (233 loc) · 8.63 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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
baseURL = "https://blog.jackwang.cn/"
#languageCode = "en" # website language
defaultContentLanguage = "zh" # [en, zh, ...] determines which i18n file to use
title = "Jack's Blog" # website title
theme = "LoveIt" # theme
enableGitInfo = true # whether to use git commit log to generate lastmod record
hasCJKLanguage = true # whether to include chinese/japanese/korean
paginate = 8 # amount of posts in each page only when home_mode is post
enableEmoji = true # whether to use emoji code
enableRobotsTXT = true # whether to use robots.txt
googleAnalytics = "" # [UA-XXXXXXXX-X] google analytics code
disqusShortname = "" # Disqus shortname to use Disqus in posts
copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License."
# copyright description used only for seo schema
#### Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)
pygmentsOptions = "linenos=table"
pygmentsCodefences = true
pygmentsUseClasses = true
pygmentsCodefencesGuessSyntax = true
staticDir = ["static", "../assets/others"] # static directories
[author] #### Author Info
name = "Jack Wang"
[sitemap] #### Sitemap Info
changefreq = "weekly"
filename = "sitemap.xml"
priority = 0.5
[Permalinks] #### Permalinks Info (https://gohugo.io/content-management/urls/#permalinks)
posts = "/:year/:month/:filename/"
[menu] #### Menu Info
[[menu.main]]
identifier = "Me"
name = "🙋♂️ Me"
url = "https://jackwang.cn"
weight = 1
pre = "<i class=\"sidebar-button-icon fa fa-lg fa-home\"></i>"
[[menu.main]]
identifier = "posts"
name = "Posts"
url = "/posts/"
weight = 2
pre = "<i class=\"sidebar-button-icon fa fa-lg fa-home\"></i>"
[[menu.main]]
identifier = "tags"
name = "Tags"
url = "/tags/"
weight = 3
[[menu.main]]
identifier = "categories"
name = "Categories"
url = "/categories/"
weight = 4
[[menu.main]]
identifier = "tips"
name = "Tips"
url = "/tips/"
weight = 5
#[[menu.main]]
# identifier = "Hexo"
# name = '🌐 Hexo'
# url = "https://blog.jackwang.cn"
# weight = 6
[[menu.main]]
identifier = "RSS"
name = "📮 RSS"
url = "https://blog.jackwang.cn/posts/index.xml"
weight = 7
[params]
version = "5.x" # LoveIt theme version
comment = true
description = "JackWang's Blog" # site description
keywords = ["Jack Wang", "Jack", "Wang","Blog"] # site keywords
#### Home Page Info
home_mode = "post" # [post, other] home mode
avatar = "/images/avatar.PNG" # URL of avatar shown in home page
subtitle = "I can because I believe so." # subtitle shown in home page
socialShare = true # whether to show social share links in post page
#### Footer CopyRight Info
since = 2019
icp = ''
license= '<a rel="license external nofollow noopener noreffer" href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank">CC BY-NC 4.0</a>'
# license info (HTML format is allowed)
gitRepo = "https://github.com/skycity233/blog" # public git repo url to link lastmod git commit only then enableGitInfo is true
linkToMarkdown = true # whether to show link to Raw Markdown content of the post
#### site verification code for Google/Bing/Yandex/Pinterest/Baidu
google_verification = ""
bing_verification = ""
yandex_verification = ""
pinterest_verification = ""
baidu_verification = ""
[params.cdn] #### CSS and JS Files CDN
fontawesome_free_css = ''
animate_css = ''
gitalk_css = ''
gitalk_js = ''
valine_js = ''
jquery_js = ''
lazysizes_js = ''
smooth_scroll_js = ''
katex_css = ''
katex_js = ''
katex_auto_render_js = ''
mermaid_js = ''
echarts_macarons_js = ''
echarts_js = ''
typeit_js = ''
jquery_countdown_js = ''
aplayer_css = ''
aplayer_js = ''
meting_js = ''
[params.gravatar] # Gravatar Info for preferred avatar in home page
email = ""
[params.social] # Social Info in home page
GitHub = "skycity233"
#Linkedin = "xxxx"
#Twitter = "xxxx"
#Instagram = "xxxx"
Email = "[email protected]"
CSDN = "skycity233"
#Facebook = "xxxx"
#Telegram = "xxxx"
#Medium = "xxxx"
#Gitlab = "xxxx"
#Youtubelegacy = "xxxx"
#Youtubecustom = "xxxx"
#Youtubechannel = "xxxx"
#Tumblr ="xxxx"
#Quora = "xxxx"
#Keybase = "xxxx"
#Pinterest = "xxxx"
#Reddit = "xxxx"
#Codepen = "xxxx"
#Bitbucket = "xxxx"
#Stackoverflow = "xxxx"
#Weibo = "xxxx"
#Odnoklassniki = "xxxx"
#VKontakte = "xxxx"
#Flickr = "xxxx"
#Xing = "xxxx"
#Snapchat = "xxxx"
#Soundcloud = "xxxx"
#Spotify = "xxxx"
#Bandcamp = "xxxx"
#Paypal = "xxxx"
#Fivehundredpx = "xxxx"
#Mix = "xxxx"
#Goodreads = "xxxx"
#Lastfm = "xxxx"
#Foursquare = "xxxx"
#Hackernews = "xxxx"
#Kickstarter = "xxxx"
#Patreon = "xxxx"
#Steam = "xxxx"
#Twitch = "xxxx"
#Strava = "xxxx"
#Skype = "xxxx"
#Whatsapp = "xxxx"
#Zhihu = "xxxx"
#Douban = "xxxx"
#Angellist = "xxxx"
#Slidershare = "xxxx"
#Jsfiddle = "xxxx"
#Deviantart = "xxxx"
#Behance = "xxxx"
#Dribble = "xxxx"
#Wordpress = "xxxx"
#Vine = "xxxx"
#Googlescholar = "xxxx"
#Researchgate = "xxxx"
#Mastodon = "xxxx"
#Thingiverse = "xxxx"
[params.share] # Social Share Links in post page
enable = false
Twitter = true
Facebook = true
Reddit = true
#Linkedin = true
#Pinterest = true
#HackerNews = true
#Mix = true
#Tumblr = true
#VKontakte = true
#Weibo = true
[params.publisher] # Publisher Info just for SEO
name = "Jack Wang"
[params.publisher.logo]
url = "/logo.png"
width = 127
height = 40
[params.logo] # Website Log Info just for SEO
url = "/logo.png"
width = 127
height = 40
[params.image] # Website Image Info just for SEO
url = "/cover.png"
width = 800
height = 600
# [params.gitalk] # Gittalk Comment Config (https://github.com/gitalk/gitalk)
# owner = ""
# repo = ""
# clientId = ""
# clientSecret = ""
[params.valine] # Valine Comment Config (https://github.com/xCss/Valine)
enable = true
appId = "RVvg7rtMR7twqMytNDjBdtzB-gzGzoHsz"
appKey = "CruAxmRzN5waIqSiWJIMsvQR"
notify = false
verify = false
avatar = "mp"
placeholder = "欢迎留言!"
visitor = true
recordIP = true
[privacy] #### Privacy Info (https://gohugo.io/about/hugo-and-gdpr/)
[privacy.googleAnalytics]
anonymizeIP = true
[privacy.youtube]
privacyEnhanced = true
[mediaTypes] #### Options to make hugo output .md files.
[mediaTypes."text/plain"]
suffixes = ["md"]
[outputFormats.MarkDown] #### Options to make hugo output .md files.
mediaType = "text/plain"
isPlainText = true
isHTML = false
[outputs] #### Options to make hugo output .md files.
home = ["HTML", "RSS"]
page = ["HTML", "MarkDown"]
section = ["HTML", "RSS"]
taxonomy = ["HTML", "RSS"]
taxonomyTerm = ["HTML"]
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true