mirror of
https://github.com/HEIGE-PCloud/DoIt
synced 2025-04-29 18:18:26 +08:00
example site. fix warning when running with latest hugo version 0.146.5
This commit is contained in:
parent
593e594a00
commit
68849551bc
@ -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"
|
||||
|
@ -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]
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user