example site. fix warning when running with latest hugo version 0.146.5

This commit is contained in:
Andreas Deininger 2025-04-17 21:55:06 +02:00
parent 593e594a00
commit 68849551bc
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
# Permalinks config (https://gohugo.io/content-management/urls/#permalinks)
# Permalinks 配置 (https://gohugo.io/content-management/urls/#permalinks)
# posts = ":year/:month/:filename"
posts = ":filename"
# posts = ":year/:month/:contentbasename"
posts = ":contentbasename"

View File

@ -890,8 +890,8 @@ Please open the code block below to view the complete sample configuration {{< f
# {{< link "https://gohugo.io/content-management/urls#permalinks" "Permalinks config" >}}
[Permalinks]
# posts = ":year/:month/:filename"
posts = ":filename"
# posts = ":year/:month/:contentbasename"
posts = ":contentbasename"
# {{< link "https://gohugo.io/about/hugo-and-gdpr/" "Privacy config" >}}
[privacy]

View File

@ -892,8 +892,8 @@ optimizeImages = true
# {{< link "https://gohugo.io/content-management/urls#permalinks" "Permalinks 配置" >}}
[Permalinks]
# posts = ":year/:month/:filename"
posts = ":filename"
# posts = ":year/:month/:contentbasename"
posts = ":contentbasename"
# {{< link "https://gohugo.io/about/hugo-and-gdpr/" "隐私信息配置" >}}
[privacy]