Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

executing "index.html" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer #232

Open
xingtianwuganqi opened this issue Feb 7, 2024 · 1 comment

Comments

@xingtianwuganqi
Copy link

When I call hugo server -D, I get an error:
Error: error building site: render: failed to render pages: render of "home" failed: "/Users/jingjun/Desktop/Hugo/Blog/themes/hugo_theme_pickles/layouts/index.html:3:27": execute of template failed: template: index.html:3:27: executing "index.html" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer

@irebit
Copy link

irebit commented Sep 12, 2024

add this code in hugo.toml

[params]
  paginate = 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants