From 6122019375e6eb966a4836a3bf3be7ccbd64ef47 Mon Sep 17 00:00:00 2001 From: mag37 Date: Mon, 6 Jan 2025 12:07:57 +0100 Subject: [PATCH] Replaced deprecated "paginate" key with "pagination.pagerSize" (#518) * Update config.toml Replaced deprecated key "paginate". * Update README.md Replaced deprecated key "paginate". --- README.md | 2 +- exampleSite/config.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e794aed..25cb68b 100644 --- a/README.md +++ b/README.md @@ -161,7 +161,7 @@ languageCode = "en-us" # Add it only if you keep the theme in the `themes` directory. # Remove it if you use the theme as a remote Hugo Module. theme = "terminal" -paginate = 5 +pagination.pagerSize = 5 [params] # dir name of your main content (default is `content/posts`). diff --git a/exampleSite/config.toml b/exampleSite/config.toml index cb78253..0ed55b2 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,7 +1,7 @@ baseurl = "https://example.com/" languageCode = "en-us" theme = "hugo-theme-terminal" -paginate = 5 +pagination.pagerSize = 5 [markup.goldmark.renderer] unsafe = true