chore: update configs

Moved the hugo.toml configuration from the root directory to config/_default/ to better organize project structure. Updated the markup.toml and params.toml files with additional comments for clarity.
This commit is contained in:
geekifan
2025-06-05 15:47:04 +08:00
parent 87b2d19d64
commit d493a4a227
4 changed files with 66 additions and 18 deletions

25
config/_default/hugo.toml Normal file
View File

@ -0,0 +1,25 @@
# The base URL for the site.
baseURL = 'https://geekifan.github.io/chirpy-starter/'
# The title of the site.
title = 'Chirpy'
# Enable Git info https://gohugo.io/methods/page/gitinfo/
enableGitInfo = false
# The default content language.
defaultContentLanguage = "en"
# Whether the default content language is in a subdirectory.
defaultContentLanguageInSubdir = false
# Whether the site has CJK language (Chinese, Japanese, Korean).
hasCJKLanguage = true
# Pagination settings.
[pagination]
pagerSize = 5
# Make sure to include JSON output to support the search functionality.
[outputs]
home = ["HTML", "RSS", "JSON"]
# Import the theme.
[module]
[[module.imports]]
path = "github.com/geekifan/hugo-theme-chirpy"