-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhugo.toml
269 lines (225 loc) · 7.08 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
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
baseURL = "https://yaofun.top"
title = "蓝色大树🌲"
languageCode = "zh-cn"
theme = "hello-friend-ng"
PygmentsCodeFences = true
#PygmentsStyle = "monokai"
PygmentsStyle = "github-dark"
paginate = 14
rssLimit = 10 # Maximum number of items in the RSS feed.
copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." # This message is only used by the RSS template.
[services.googleAnalytics]
id = "G-RSXEZVCJT4"
# disqusShortname = ""
hasCJKLanguage = true
archetypeDir = "archetypes"
contentDir = "content"
dataDir = "data"
layoutDir = "layouts"
publishDir = "public"
buildDrafts = false
buildFuture = false
buildExpired = false
canonifyURLs = true
enableRobotsTXT = true
enableGitInfo = false
enableEmoji = true
enableMissingTranslationPlaceholders = false
disableRSS = false
disableSitemap = false
disable404 = false
disableHugoGeneratorInject = false
[permalinks]
posts = "/posts/:year/:month/:title/"
[blackfriday]
hrefTargetBlank = true
[taxonomies]
tag = "tags"
category = "categories"
series = "series"
[params]
[params.author]
name = "Jane Doe"
dateform = "Jan 2, 2006"
dateformShort = "Jan 2"
dateformNum = "2006-01-02"
dateformNumTime = "2006-01-02 15:04"
# Metadata mostly used in document's head
#
description = "Welcome to yao's blog"
keywords = "博客,成都,大数据,草缸,骑行,吉他"
images = [""]
# Home subtitle of the index page.
#
homeSubtitle = "Hello Friend NG"
# Set a background for the homepage
# backgroundImage = "assets/images/background.jpg"
# Prefix of link to the git commit detail page. GitInfo must be enabled.
#
# gitUrl = ""
# Set disableReadOtherPosts to true in order to hide the links to other posts.
#
disableReadOtherPosts = false
# Enable theme toggle
#
# This options enables the theme toggle for the theme.
# Per default, this option is off.
# The theme is respecting the prefers-color-scheme of the operating system.
# With this option on, the page user is able to set the scheme he wants.
enableThemeToggle = true
# Sharing buttons
#
# There are a lot of buttons preconfigured. If you want to change them,
# generate the buttons here: https://sharingbuttons.io
# and add them into your own `layouts/partials/sharing-buttons.html`
#
enableSharingButtons = true
# Global language menu
#
# Enables the global language menu.
#
enableGlobalLanguageMenu = true
# Integrate Javascript files or stylesheets by adding the url to the external assets or by
# linking local files with their path relative to the static folder, e.g. "css/styles.css"
#
customCSS = ['/css/custom.css']
customJS = []
# Toggle this option need to rebuild SCSS, requires extended version of Hugo
#
justifyContent = false # Set "text-align: justify" to .post-content.
# Integrate Plausible.io
# plausibleDataDomain = 'test.com'
# plausibleScriptSource = 'https://plausible.io/js/script.js'
# Custom footer
# If you want, you can easily override the default footer with your own content.
#
[params.footer]
trademark = 2024
rss = true
copyright = true
author = true
topText = []
bottomText = [
"Powered by <a href=\"http://gohugo.io\">Hugo</a>",
"Made with ❤ by <a href=\"https://github.com/rhazdon\">Djordje Atlialp</a>"
]
# Colors for favicons
[params.favicon.color]
mask = "#1b1c1d"
msapplication = "#1b1c1d"
theme = "#1b1c1d"
[params.logo]
logoMark = ">"
logoText = "$ cd /home/treesblue🌲 "
logoHomeLink = "/"
# Set true to remove the logo cursor entirely.
# logoCursorDisabled = false
# Set to a valid CSS color to change the cursor in the logo.
logoCursorColor = "#428433"
# Set to a valid CSS time value to change the animation duration, "0s" to disable.
# logoCursorAnimate = "2s"
# Append the current url pathname to logoText
# logoCursorPathname = true
# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Addon: Startpage portrait
# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Uncomment this if you want a portrait on your start page
[params.portrait]
#path = "https://raw.githubusercontent.com/goby-ao/picgo/main/img/IMG_6041.jpeg"
#path = "/img/cover.jpeg"
#alt = "Portrait"
maxWidth = "690px"
hello = "「晚来天欲雪,能饮一杯无?」"
[[params.Portraits]]
Path = "https://cdn.jsdelivr.net/gh/goby-ao/picgo@main/img/cover0.jpeg"
Alt = "Image 1 Description"
[[params.Portraits]]
Path = "https://cdn.jsdelivr.net/gh/goby-ao/picgo@main/img/cover1.jpeg"
Alt = "Image 2 Description"
[[params.Portraits]]
Path = "https://cdn.jsdelivr.net/gh/goby-ao/picgo@main/img/cover2.jpeg"
Alt = "Image 2 Description"
# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Addon: Utteranc.es
# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Utteranc.es is a lightweight comments widget built on GitHub issues.
# See https://utteranc.es/ for documentation
# Uncomment this to enable Utteranc.es.
#
[params.utterances]
# Your GitHub repository
#
repository = "goby-ao/goby-ao.github.io"
#
# label used for GitHub issues
#
label = "blog comment"
#
# Blog Post <-> Issue mapping. This parameter is optional. Possible values are:
# - pathname
# - url
# - title
# - og:title
# - issue number
# - specific term
#
issueTerm = "title"
#
# Theme used: possible values are:
# - github-light
# - github-dark
# - preferred-color-scheme
# - github-dark-orange
# - icy-dark
# - dark-blue
# - photon-dark
# - boxy-light
# - gruvbox-dark
#
theme = "github-light"
# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Addon: Social icons
# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
[[params.social]]
name = "twitter"
url = "https://twitter.com/Sunflowers724"
[[params.social]]
name = "weibo"
url = "https://weibo.com/u/1714318434"
[[params.social]]
name = "bilibili"
url = "https://space.bilibili.com/28799872"
[[params.social]]
name = "email"
url = "mailto:[email protected]"
[[params.social]]
name = "github"
url = "https://github.com/goby-ao"
[languages]
[languages.en]
weight = 1
copyright = '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
[languages.en.params]
subtitle = "Yao's Blog"
[menu]
[[menu.main]]
identifier = "posts"
name = "Posts"
url = "posts/"
weight = "1"
[[menu.main]]
identifier = "about"
name = "About"
url = "about/"
weight = "10"
[[menu.main]]
identifier = "tags"
name = "Tags"
url = "/tags/"
weight = "9"
[[menu.main]]
identifier = "running"
name = "Running"
url = "running/"
weight = "3"