fix paginate → pagination.pagerSize

WARN  deprecated: site config key paginate was deprecated in Hugo
v0.128.0 and will be removed in a future release. Use
pagination.pagerSize instead.
main
Dominic Reich 2 months ago
parent dec1169e35
commit daa5ee3281
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -7,11 +7,13 @@ defaultContentLanguage = "en"
relativeURLs = false relativeURLs = false
enableRobotsTXT = true enableRobotsTXT = true
paginate = 10
summaryLength = 0 summaryLength = 0
ignoreFiles = [ "\\.temp$" ] ignoreFiles = [ "\\.temp$" ]
[pagination]
pagerSize = 10
# [permalinks] # [permalinks]
# #post = '/:sections[last]/:year-:month-:day-:slug/' # #post = '/:sections[last]/:year-:month-:day-:slug/'
# posts = '/:sections[last]/:year-:month-:day-:slug/' # posts = '/:sections[last]/:year-:month-:day-:slug/'
@ -102,3 +104,4 @@ section = [ "HTML", ]
page = [ "HTML" ] page = [ "HTML" ]
taxonomy = [ "HTML" ] taxonomy = [ "HTML" ]
#taxonomyTerm = [ "HTML" ] #taxonomyTerm = [ "HTML" ]

Loading…
Cancel
Save