-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.toml
137 lines (130 loc) · 3.58 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
baseURL = "https://zhu8.net/"
languageCode = "zh-cn"
DefaultContentLanguage = "zh"
title = "猪八的网:浮生志"
copyright = "Zhu8.Net 🚀 [<a href=\"https://creativecommons.org/licenses/by-sa/4.0/deed.zh\">CC BY-SA</a>]"
theme = "hugo-theme-tokiwa"
canonifyurls = true
footnoteReturnLinkContents = "↩"
preserveTaxonomyNames = true
hasCJKLanguage = true
enableInlineShortcodes = true
author = "Zhu8"
publishDir = "docs"
enableGitInfo = true
[frontmatter]
date = ['date', 'publishDate', 'lastmod']
expiryDate = ['expiryDate']
lastmod = [':git', 'lastmod', 'date', 'publishDate']
publishDate = ['publishDate', 'date']
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
xhtml = true
[markup.highlight]
guessSyntax = true
style = 'github'
tabWidth = 4
[markup.tableOfContents]
endLevel = 5
ordered = false
startLevel = 2
[minify]
minifyOutput = true
[params]
math = false
toc = true
env = "production"
description = """
## 🚴♂️ *庸俗路上的无尽狂奔……* 🔱
"""
favicon = "/favicon.ico"
fuse = true
useChineseFonts = true
PostDateFormat = "2006-01-02 15:04 @ Mon"
enableReadingTime = true
author = "Zhu8"
authorlocation = "Nanjing, China"
authorwebsite = "https://zhu8.net/"
githubName = "Zhu8"
email = "[email protected]"
twitterName = "5CJ"
sitedescription = "{陈俊/ChenJun} aka {猪八/Zhu8} 的个人网站,江苏金坛人士,现居金陵,电子产品、代码、海淘 、智能设备、网页设计自虐狂,曼联、Doraemon、CS 1.5 死忠粉,王小波门下走狗。"
enableWaline = true
googleSiteVerification = "Mfl8lf6NN0DWPluv8lQpBL-mrKi22ZOcnlKXYURni1Y"
appletouchicon ="/apple-touch-icon.png"
keywords = ['陈俊', 'ChenJun', 'Chen Jun', '猪八', 'Zhu8', '个人网站', 'chenjun.com', 'zhu8.net', 'Doraemon', '王小波', 'Hugo']
showRelatedPosts = true
summaryLength = 140
enableGitInfo = true
gitRepo = "https://github.com/zhu8/zhu8.net"
# 是否开启
enablePostGitInfo = true
displayPostGitInfo = true
# 说明:文章的 Front Matter 中的 `gitinfo`
repoURL = "https://github.com/zhu8/zhu8.net/blob/master"
repoEditURL = "https://github.com/zhu8/zhu8.net/edit/master"
displayRAW = true
RAWText = "MkDn"
displayEditLink = true
editText = "Edit Me?"
[permalinks]
posts = "/blog/:year/:month/:slug/"
categories = "/categories/:slug/"
[taxonomies]
tag = "tags"
category = "categories"
[menu]
# Shown in the side menu.
[[menu.main]]
identifier = "blog"
url = "/blog/"
name = "Blog § 「日志」"
weight = 1
pre = "<i class=\"fas fa-book\"></i>"
[[menu.main]]
identifier = "about"
name = "About § 「关于」"
weight = 2
url = "/about/"
pre = "<i class=\"fas fa-address-book\"></i>"
[[menu.main]]
identifier = "links"
url = "/links/"
name = "Links § 「链接」"
weight = 3
pre = "<i class=\"fas fa-link\"></i>"
[[menu.main]]
identifier = "project"
url = "/project/"
name = "Project § 「项目」"
weight = 4
pre = "<i class=\"fas fa-poo\"></i>"
[[menu.main]]
identifier = "categories"
url = "/categories/"
name = "Categories § 「分类」"
weight = 5
pre = "<i class=\"fas fa-th-list\"></i>"
[[menu.main]]
identifier = "tags"
url = "/tags/"
name = "Tags § 「标签」"
weight = 6
pre = "<i class=\"fas fa-tag\"></i>"
[[menu.main]]
identifier = "rss"
url = "/index.xml"
name = "RSS § 「订阅」"
weight = 7
pre = "<i class=\"fas fa-rss\"></i>"
[params.social]
Github = "zhu8"
Twitter = "5CJ"
Weibo = "zhu8"
Tumblr = "zhu8"
Instagram = "5CJ"
Facebook = "ichenjun"
[outputs]
home = ["HTML", "RSS", "JSON"]