Replaced deprecated "paginate" key with "pagination.pagerSize" (#518)

* Update config.toml

Replaced deprecated key "paginate".

* Update README.md

Replaced deprecated key "paginate".
This commit is contained in:
mag37 2025-01-06 12:07:57 +01:00 committed by GitHub
parent ae52f107f9
commit 6122019375
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -161,7 +161,7 @@ languageCode = "en-us"
# Add it only if you keep the theme in the `themes` directory. # Add it only if you keep the theme in the `themes` directory.
# Remove it if you use the theme as a remote Hugo Module. # Remove it if you use the theme as a remote Hugo Module.
theme = "terminal" theme = "terminal"
paginate = 5 pagination.pagerSize = 5
[params] [params]
# dir name of your main content (default is `content/posts`). # dir name of your main content (default is `content/posts`).

View file

@ -1,7 +1,7 @@
baseurl = "https://example.com/" baseurl = "https://example.com/"
languageCode = "en-us" languageCode = "en-us"
theme = "hugo-theme-terminal" theme = "hugo-theme-terminal"
paginate = 5 pagination.pagerSize = 5
[markup.goldmark.renderer] [markup.goldmark.renderer]
unsafe = true unsafe = true