Files
blog/themes/Ying/hugo.toml
T

89 lines
1.6 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
2024-07-30 18:17:22 +08:00
authorImage = "/image/avatar.jpg"
2024-07-11 10:34:42 +08:00
2024-07-11 16:08:51 +08:00
# 自定义描述
description = "风吹云散,云卷云舒"
# 社交链接列表
social = [
# GitHub 链接和图标
{ title = "GitHub", url = "https://pan.usj.cc", icon = "ri-cloudy-2-line" },
# Twitter 链接和图标
{ title = "Twitter", url = "https://space.bilibili.com/525472039", icon = "ri-bilibili-line" },
# LinkedIn 链接和图标
{ title = "LinkedIn", url = "https://github.com/imzql", icon = "ri-github-fill" },
]
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
url = "/about"
2024-08-03 13:35:19 +08:00
[[menu.main]]
name = "circles"
weight = 20
url = "/circles"
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
2024-08-03 09:43:57 +08:00
url = "/ly"
2024-07-11 16:08:51 +08:00
[[menu.main]]
name = "links"
weight = 20
url = "/links"
2024-07-11 08:59:32 +08:00
2024-07-11 16:41:31 +08:00
[[menu.main]]
name = "archives"
weight = 20
url = "/archives"
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
# 分页展示文章数 每页展示文章的数量
paginate = 5
hasCJKLanguage = true