fixed:修复路由模式
This commit is contained in:
1 parent
b0c02521d2
commit
b7ea5d9bee
3 files changed
+19
-12
No files matched your search
@@ -2,14 +2,21 @@ baseURL = "https://usj.cc"
|
||||
languageCode = 'zh-cn'
|
||||
title = '优世界'
|
||||
theme = 'Ying'
|
||||
|
||||
# 文章与页面使用 .html 结尾(ugly URLs 模式)
|
||||
uglyURLs = true
|
||||
|
||||
# 分页展示文章数 每页展示文章的数量
|
||||
paginate = 6
|
||||
|
||||
#计算文章总字数
|
||||
HasCJKLanguage = true
|
||||
|
||||
#hugo代码高亮显示
|
||||
[markup]
|
||||
[markup.highlight]
|
||||
style = 'tango'
|
||||
# 去掉post
|
||||
|
||||
# 自定义文章固定链接:使用 slug 作为文件名(如 /20260117.html)
|
||||
[permalinks]
|
||||
post = "/:slug/"
|
||||
post = "/:slug"
|
||||
Reference in new issue
Block a user