fix: remove paginate setting and update mainSections comment in hugo.toml

This commit is contained in:
Cell
2025-09-16 10:42:17 +08:00
parent 5d03f558dd
commit a228cce083
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -24,8 +24,6 @@ languageCode = "en"
languageName = "English"
# whether to include Chinese/Japanese/Korean
hasCJKLanguage = false
# default amount of posts in each pages
paginate = 12
# copyright description used only for seo schema
copyright = ""
# whether to use robots.txt
@@ -35,7 +33,9 @@ enableGitInfo = true
# whether to use emoji code
enableEmoji = true
# the main sections of a site
mainSections = []
# if set, the MainSections method on the Site object returns the given sections,
# otherwise it returns the section with the most pages.
# mainSections = ["posts"]
# -------------------------------------------------------------------------------------
# Menu Configuration
@@ -226,7 +226,7 @@ mainSections = []
# -------------------------------------------------------------------------------------
[privacy]
[privacy.twitter]
[privacy.x]
enableDNT = true
[privacy.youtube]
privacyEnhanced = true
+1 -1
View File
@@ -1,4 +1,4 @@
{{- hugo.Store.Set "version" "v0.4.0-alpha.2-20250915151330-1f0762dd" -}}
{{- hugo.Store.Set "version" "v0.4.0-alpha.2-20250916024218-5d03f558" -}}
{{- .Store.Set "this" dict -}}
{{- partial "init/detection-env.html" . -}}