-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
134 lines (113 loc) · 2.66 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
# baseURL = "http://localhost:1313/subdir"
baseURL = "https://zhenda-hub.github.io/"
title = "Zhenda's Blog"
theme = "puppet"
# themesDir = "../.."
copyright = "Copyright © 2023-2024. All Rights Reserved. Zhenda 版权所有"
paginate = 5
languageCode = "en"
defaultContentLanguage = "en"
hasCJKLanguage = true
enableInlineShortcodes = true
enableEmoji = true
# prevent build failures when using Hugo's Instagram shortcode due to deprecated Instagram API.
# See https://github.com/gohugoio/hugo/issues/7228#issuecomment-714490456
ignoreErrors = ["error-remote-getjson"]
disqusShortname = ""
googleAnalytics = ""
[outputs]
home = ["HTML", "JSON", "RSS"]
# section = ['html', 'rss']
# taxonomy = ['html']
# term = ['html']
# prevent build failures when using Hugo's template _internal/opengraph.html
[taxonomies]
category = "categories"
tag = "tags"
series = "series"
[markup]
[markup.highlight]
noClasses = true
codeFences = true
guessSyntax = true
lineNos = true
lineNumbersInTable = true
tabWidth = 4
# style = "dracula"
# style = "catppuccin-latte"
# style = "github"
style = "xcode"
[markup.goldmark.renderer]
unsafe = true
[menu]
[[menu.main]]
identifier = "home"
name = "Home"
url = "/"
weight = -100
[[menu.main]]
identifier = "archive"
name = "Archive"
url = "/archive/"
weight = 10
[[menu.main]]
identifier = "guide"
name = "Guide"
url = "/series/themes-guide/"
weight = 20
[[menu.main]]
identifier = "about"
name = "About"
url = "/about/"
weight = 50
[[menu.main]]
identifier = "github"
name = "Github"
url = "https://github.com/zhenda-hub/"
weight = 100
[params]
author = "Zhenda"
description = "Just Do It"
keywords = "blog,developer,personal"
img_home = "img/home-bg.jpg"
img_404 = "img/404-bg.jpg"
useFaviconGenerator = true
custom_js = []
custom_css = [] # ["css/custom.css"] Add your file to assets folder [assets/css/custom.css]
[params.sidebar]
enable = true
gravatarEmail = ""
# Overwritten by your gravatar image if `gravatarEmail` is filled
avatar = "img/home-bg.jpg"
bio = "a personal website"
[params.social]
github = "zhenda-hub"
rss = true
# twitter = "johndoe"
# facebook = "johndoe"
# zhihu = "johndoe"
# weibo = "johndoe"
# gitlab = "johndoe"
# linkedin = "johndoe"
# [params.social.mastodon]
# weight = 56
# icon = "fab fa-mastodon"
# format = "https://mastodon.social/%v"
# id = "johndoe"
# url = ""
[[params.friends]]
name = "John Doe"
url = "https://gohugo.io"
[[params.friends]]
name = "Guo Qiang"
url = "https://www.kumao.cool"
# See https://giscus.app/
[params.giscus]
enable = true
repo = "zhenda-hub/zhenda-hub.github.io"
repo_id = "R_kgDOKvQVww"
category = "Announcements"
category_id = "DIC_kwDOKvQVw84CfdFG"
input_position = "top"
theme = "light"
lang = "en"