Files
hugo-blog/hugo.toml
2026-05-28 22:50:42 +08:00

119 lines
2.3 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
baseURL = 'https://hugo.luochen570.cn/'
locale = 'zh_cn'
title = '洛尘的技术笔记'
theme = 'PaperMod'
enableRobotsTXT = true
enableEmoji = true
hasCJKLanguage = true
mainsections = ['posts']
[pagination]
pagerSize = 8
[taxonomies]
category = 'categories'
tag = 'tags'
series = 'series'
[outputs]
home = ['HTML', 'RSS', 'JSON']
[params]
env = 'production'
description = '洛尘的技术笔记记录自托管服务、Linux 运维、k3s、Tailscale、Hugo、开发环境和自动化实践。'
author = '洛尘'
defaultTheme = 'auto'
ShowReadingTime = true
ShowShareButtons = false
ShowPostNavLinks = true
ShowBreadCrumbs = true
ShowCodeCopyButtons = true
ShowRssButtonInSectionTermList = true
ShowToc = true
TocOpen = false
ShowPageNums = true
ShowWordCount = true
ShowFullTextinRSS = false
disableSpecial1stPost = false
[params.homeInfoParams]
Title = '你好,我是洛尘 👋'
Content = '''
这里记录我的自托管服务、服务器运维、k3s 集群、Tailscale 组网、Hugo 博客、终端环境和自动化实践。
我希望每篇文章都尽量说明:为什么这么做、具体怎么做、怎么验证成功,以及踩过哪些坑。
'''
[[params.socialIcons]]
name = 'github'
title = 'Gitea'
url = 'https://git.luochen570.cn/luochen570'
[[params.socialIcons]]
name = 'email'
title = 'Email'
url = 'mailto:1160510664@qq.com'
[[params.socialIcons]]
name = 'rss'
title = 'RSS'
url = '/index.xml'
[params.assets]
disableHLJS = true
[params.fuseOpts]
isCaseSensitive = false
shouldSort = true
location = 0
distance = 1000
threshold = 0.35
minMatchCharLength = 1
keys = ['title', 'permalink', 'summary', 'content']
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
noClasses = false
codeFences = true
guessSyntax = true
lineNos = false
[menu]
[[menu.main]]
name = '首页'
url = '/'
weight = 1
[[menu.main]]
name = '文章'
url = '/posts/'
weight = 2
[[menu.main]]
name = '归档'
url = '/archives/'
weight = 3
[[menu.main]]
name = '标签'
url = '/tags/'
weight = 4
[[menu.main]]
name = '分类'
url = '/categories/'
weight = 5
[[menu.main]]
name = '搜索'
url = '/search/'
weight = 6
[[menu.main]]
name = '关于'
url = '/about/'
weight = 7