-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhugo.toml
62 lines (49 loc) · 1.56 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
baseURL = 'https://blog.dsnb.cc/'
defaultContentLanguage = "zh"
languageCode = 'zh-Hans'
title = "DongShaoNB's Blog"
theme = "dream"
enableGitInfo = true
enableRobotsTXT = true
hasCJKLanguage = true
[markup]
[markup.goldmark.parser]
wrapStandAloneImageWithinParagraph = false
[markup.goldmark.parser.attribute]
block = true
[markup.goldmark.renderer]
unsafe = true
[markup.goldmark.extensions.passthrough]
enable = true
[markup.goldmark.extensions.passthrough.delimiters]
block = [['\[', '\]'], ['$$', '$$']]
inline = [['\(', '\)']]
[markup.highlight]
noClasses = false
[params]
lightTheme = "emerald"
darkTheme = "forest"
author = "DongShaoNB"
description = "东少的笔记本"
avatar = "avatar.jpg"
headerTitle = "DongShaoNB's Blog"
motto = "喜欢就坚持下去吧!"
rss = true
utterancesRepo = "DongShaoNB/MyBlog"
email = "[email protected]"
siteStartYear = 2024
favicon = '<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%2210 0 100 100%22><text y=%22.90em%22 font-size=%2290%22>❤️</text></svg>"></link>'
customSyntaxHighlighting = true
stickyNav = true
reorderNavItems = ["search", "github", "categories", "tags", "posts", "rss"]
collapseNavItems = ["categories", "tags", "posts", "rss"]
# noDefaultSummaryCover = true
showTableOfContents = true
showSummaryCoverInPost = true
imageZoomableInPost = true
showPrevNextPost = true
[params.navItems]
github = { href = "https://github.com/DongShaoNB/MyBlog", target = "_blank", icon = "logo-github", title = "GitHub" }
[params.experimental]
jsDate = true
jsDateFormat = "yyyy年MM月dd日"