Files
blog/themes/Ying/hugo.toml
T
2024-08-06 22:00:46 +08:00

87 lines
1.5 KiB
TOML

# 网站的基本 URL
baseURL = 'https://usj.cc'
# 网站的语言代码
languageCode = 'Zh-cn'
# 网站的标题
title = '优世界'
# 自定义参数设置
[params]
# 自定义作者头像的 URL
authorImage = "/image/avatar.jpg"
# 自定义描述
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" },
]
[[menus.main]]
# 菜单项名称
name = '优世界'
# 菜单项指向的页面
pageRef = '/'
# 菜单项的权重(影响显示顺序)
weight = 10
[[menu.main]]
name = "about"
weight = 20
url = "/about"
[[menu.main]]
name = "ly"
weight = 20
url = "/ly"
[[menu.main]]
name = "links"
weight = 20
url = "/links"
[[menu.main]]
name = "archives"
weight = 20
url = "/archives"
# 模块配置
[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
# 分页展示文章数 每页展示文章的数量
paginate = 5
# 统计字数
hasCJKLanguage = true