Files
blog/themes/Ying/hugo.toml.bak
T
2026-01-23 22:02:11 +08:00

91 lines
1.5 KiB
Plaintext

# 网站的基本 URL
baseURL = 'https://usj.cc'
# 网站的语言代码
languageCode = 'Zh-cn'
# 网站的标题
title = '优世界'
# 自定义参数设置
[params]
# 自定义作者头像的 URL
authorImage = "/image/tx7.jpg"
# 自定义描述
description = "不以物喜,不以己悲"
# 社交链接列表
social = [
# GitHub
{ title = "GitHub", url = "https://github.com/zqlit", icon = "ri-github-fill" },
# 主页链接
{ title = "我的主页", url = "#", icon = "ri-at-line" },
# Rss订阅链接
{ title = "Rss订阅", url = "/rss.xml", icon = "ri-rss-fill" }
]
[[menus.main]]
# 菜单项名称
name = '优世界'
# 菜单项指向的页面
pageRef = '/'
# 菜单项的权重(影响显示顺序)
weight = 10
[[menu.main]]
name = "about"
weight = 20
url = "/about.html"
[[menu.main]]
name = "comment"
weight = 20
url = "/comment.html"
[[menu.main]]
name = "links"
weight = 20
url = "/links.html"
[[menu.main]]
name = "circles"
weight = 30
url = "/circles.html"
[[menu.main]]
name = "archives"
weight = 20
url = "/archives.html"
# 模块配置
[module]
# Hugo 版本要求
[module.hugoVersion]
# 是否使用扩展版本
extended = false
# 最低版本要求
min = "0.116.0"
#输出rss
[outputs]
home = ["HTML", "RSS"]
[mediaTypes."application/rss+xml"]
suffixes = ["xml"]
[outputFormats.RSS]
mediaType = "application/rss+xml"
baseName = "rss"
isPlainText = false
noUgly = true
permalinkable = true
# 统计字数
hasCJKLanguage = true