-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
145 lines (130 loc) · 3.78 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
baseURL = "https://kira-96.github.io/"
defaultContentLanguage = "zh"
languageCode = "zh"
title = "✨kiraの博客"
author = "kira"
copyright = "Copyright © 2019-2025 [kira's blog](/) ·"
theme = "PaperMod"
enableInlineShortcodes = true
enableEmoji = true
enableRobotsTXT = true
buildDrafts = true
buildFuture = false
buildExpired = false
pygmentsUseClasses = true
# paginate = 5
[menu]
[[menu.main]]
name = "🏠主页"
url = "/"
weight = 1
[[menu.main]]
name = "📓笔记"
url = "/notes/"
weight = 2
[[menu.main]]
name = "🗃️存档"
url = "/archives/"
[[menu.main]]
name = "🔍️搜索"
url = "/search/"
[outputs]
home = ["HTML", "RSS", "JSON"]
[params]
description = "kira's blog"
favicon = "favicon.ico"
lazyImage = true
defaultTheme = "auto" # dark, light
disableThemeToggle = false
ShowReadingTime = true
ShowShareButtons = false
ShowPostNavLinks = true
ShowBreadCrumbs = true
ShowCodeCopyButtons = true
ShowWordCount = true
ShowRssButtonInSectionTermList = true
ShowLastMod = true
disableSpecial1stPost = false
disableScrollToTop = false
comments = true
hidemeta = false
hideSummary = false
ShowToc = true
TocOpen = true
UseHugoToc = false
# home-info mode
[params.homeInfoParams]
Title = "✨kiraの博客🎐"
Content = "欢迎来到我的博客🎉"
[[params.socialIcons]]
name = "github"
url = "https://github.com/kira-96/"
[[params.socialIcons]]
name = "bilibili"
url = "https://space.bilibili.com/9258847"
[[params.socialIcons]]
name = "Rss"
url = "index.xml"
[params.cover]
hidden = true # hide everywhere but not in structured data
hiddenInList = true # hide on list pages and home
hiddenInSingle = true # hide on single page
[params.editPost]
URL = "https://github.com/kira-96/kira-96.github.io/tree/main/content/posts/"
Text = "✏️编辑" # edit text
appendFilePath = false # to append file path to Edit link
[params.assets]
# disableHLJS = true # to disable highlight.js
# disableFingerprinting = true
favicon = "https://cdn.jsdelivr.net/gh/kira-96/kira-96.github.io@gh-pages/favicon.ico"
favicon16x16 = "https://cdn.jsdelivr.net/gh/kira-96/kira-96.github.io@gh-pages/favicon-16x16.png"
favicon32x32 = "https://cdn.jsdelivr.net/gh/kira-96/kira-96.github.io@gh-pages/favicon-32x32.png"
apple_touch_icon = "https://cdn.jsdelivr.net/gh/kira-96/kira-96.github.io@gh-pages/icons/apple-icon-180x180.png"
safari_pinned_tab = "https://cdn.jsdelivr.net/gh/kira-96/kira-96.github.io@gh-pages/icons/apple-icon-76x76.png"
theme_color = "#2e2e33"
msapplication_TileColor = "#2e2e33"
# profile-mode
[params.profileMode]
enabled = false # needs to be explicitly set
title = "kira's 博客"
subtitle = "欢迎来到我的博客"
imageUrl = "https://cdn.jsdelivr.net/gh/kira-96/kira-96.github.io@gh-pages/icons/apple-icon-120x120.png"
imageWidth = 120
imageHeight = 120
imageTitle = ""
[[params.profileMode.buttons]]
name = "主页"
url = "posts"
[[params.profileMode.buttons]]
name = "笔记"
url = "notes"
[[params.profileMode.buttons]]
name = "存档"
url = "archives"
[[params.profileMode.buttons]]
name = "搜索"
url = "search"
# utterances
[params.utterances]
enabled = true
repo = "kira-96/kira-96.github.io"
issueTerm = "pathname"
theme = "github-light"
# doc: https://gohugo.io/getting-started/configuration-markup#highlight
# syntax style: https://xyproto.github.io/splash/docs/longer/all.html
[markup]
[markup.highlight]
codeFences = true
guessSyntax = false
hl_Lines = ""
lineNoStart = 1
lineNos = true
lineNumbersInTable = true
noClasses = false
style = "monokai" # github, dracula, vim, monokai
tabWidth = 4
[markup.goldmark]
[markup.goldmark.renderer]
hardWraps = false
unsafe = true
xhtml = false