Files
blog/themes/Ying/hugo.toml
T

90 lines
1.5 KiB
TOML
Raw Normal View History

2024-07-11 10:34:42 +08:00
# 网站的基本 URL
2024-08-04 12:23:15 +08:00
baseURL = 'https://usj.cc'
2024-07-11 10:34:42 +08:00
# 网站的语言代码
languageCode = 'Zh-cn'
# 网站的标题
title = '优世界'
# 自定义参数设置
[params]
2024-07-11 16:08:51 +08:00
# 自定义作者头像的 URL
2025-11-30 19:49:58 +08:00
authorImage = "/image/tx7.jpg"
2025-03-31 10:46:45 +08:00
2024-07-11 16:08:51 +08:00
# 自定义描述
2025-11-30 19:49:58 +08:00
description = "不以物喜,不以己悲"
2024-07-11 16:08:51 +08:00
# 社交链接列表
social = [
2025-04-06 14:37:21 +08:00
# GitHub
{ title = "GitHub", url = "https://github.com/zqlit", icon = "ri-github-fill" },
# 主页链接
2026-01-20 16:38:10 +08:00
{ title = "我的主页", url = "#", icon = "ri-at-line" },
2025-04-06 14:37:21 +08:00
# Rss订阅链接
2026-01-20 20:09:46 +08:00
{ title = "Rss订阅", url = "/rss.xml", icon = "ri-rss-fill" }
2024-07-11 16:08:51 +08:00
]
2024-07-11 08:59:32 +08:00
[[menus.main]]
2024-07-11 16:08:51 +08:00
# 菜单项名称
name = '优世界'
# 菜单项指向的页面
pageRef = '/'
# 菜单项的权重(影响显示顺序)
weight = 10
2024-07-11 08:59:32 +08:00
2024-07-11 16:08:51 +08:00
[[menu.main]]
name = "about"
weight = 20
2026-01-19 00:15:15 +08:00
url = "/about.html"
2024-07-11 16:08:51 +08:00
[[menu.main]]
2024-08-03 09:43:57 +08:00
name = "ly"
2024-07-11 16:08:51 +08:00
weight = 20
2026-01-19 00:15:15 +08:00
url = "/ly.html"
2024-07-11 16:08:51 +08:00
[[menu.main]]
name = "links"
weight = 20
2026-01-19 00:15:15 +08:00
url = "/links.html"
2024-07-11 08:59:32 +08:00
2024-08-10 13:57:18 +08:00
[[menu.main]]
name = "circles"
weight = 30
2026-01-19 00:15:15 +08:00
url = "/circles.html"
2024-08-10 13:57:18 +08:00
2024-07-11 16:41:31 +08:00
[[menu.main]]
name = "archives"
weight = 20
2026-01-19 00:15:15 +08:00
url = "/archives.html"
2024-07-11 16:41:31 +08:00
2024-07-11 10:34:42 +08:00
# 模块配置
2024-07-11 08:59:32 +08:00
[module]
2024-07-11 16:08:51 +08:00
# Hugo 版本要求
[module.hugoVersion]
# 是否使用扩展版本
extended = false
# 最低版本要求
min = "0.116.0"
2024-07-28 18:58:23 +08:00
#输出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
2024-08-06 22:00:46 +08:00
# 统计字数
2024-07-28 18:58:23 +08:00
hasCJKLanguage = true
2024-08-06 22:00:46 +08:00
2024-08-09 09:07:26 +08:00