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:
parent
ae52f107f9
commit
6122019375
2 changed files with 2 additions and 2 deletions
|
@ -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`).
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue