Fix deprecated warning

https://gohugo.io/templates/pagination/
This commit is contained in:
Djordje Atlialp 2024-10-18 00:04:42 +02:00
parent 682ba35c9d
commit d17ec9cc56

View file

@ -6,7 +6,6 @@ theme = "hello-friend-ng"
PygmentsCodeFences = true PygmentsCodeFences = true
PygmentsStyle = "monokai" PygmentsStyle = "monokai"
paginate = 10
rssLimit = 10 # Maximum number of items in the RSS feed. rssLimit = 10 # Maximum number of items in the RSS feed.
copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." # This message is only used by the RSS template. copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." # This message is only used by the RSS template.
@ -30,6 +29,11 @@ disableSitemap = false
disable404 = false disable404 = false
disableHugoGeneratorInject = false disableHugoGeneratorInject = false
[pagination]
disableAliases = false
pagerSize = 20
path = 'page'
[services] [services]
# [services.disqus] # [services.disqus]
# shortname = 'your-disqus-shortname' # shortname = 'your-disqus-shortname'