From d17ec9cc5631e5317ae4f650bfee269c660d3143 Mon Sep 17 00:00:00 2001 From: Djordje Atlialp Date: Fri, 18 Oct 2024 00:04:42 +0200 Subject: [PATCH] Fix deprecated warning https://gohugo.io/templates/pagination/ --- exampleSite/config.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 5ec79c5..aed76b8 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -6,7 +6,6 @@ theme = "hello-friend-ng" PygmentsCodeFences = true PygmentsStyle = "monokai" -paginate = 10 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. @@ -30,6 +29,11 @@ disableSitemap = false disable404 = false disableHugoGeneratorInject = false +[pagination] + disableAliases = false + pagerSize = 20 + path = 'page' + [services] # [services.disqus] # shortname = 'your-disqus-shortname'