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

Current pagination code is deprecated from next version; new version not supported #506

Open
joshuamkite opened this issue Jan 18, 2025 · 0 comments

Comments

@joshuamkite
Copy link

In my config.toml I have

paginate = 10

But this gives me a build eror:

ERROR deprecated: site config key paginate was deprecated in Hugo v0.128.0 and will be removed in Hugo 0.142.0. Use pagination.pagerSize instead.
Start building sites … 
hugo v0.141.0+extended+withdeploy darwin/arm64 BuildDate=2025-01-16T13:11:18Z VendorInfo=brew

Using the new, recommended pagination configuration

[pagination]
  disableAliases = false
  pagerSize = 10
  path = 'page'

Gives me a 404 for all of my posts

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

1 participant