-
-
Notifications
You must be signed in to change notification settings - Fork 329
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
Fix error calling Paginate #289
Conversation
✅ Deploy Preview for hugo-congo ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
Thanks for the PR, @michaeldorner. I've been trying to replicate the issue you are referring to but haven't been able to get that error to appear. Are you able to describe the configuration you're using when it appears? I'm using Hugo v0.102.3 in my testing. |
Thanks for looking at the issue. I started with a plain, empty website. Then the problem described above occurred. I can share the current state of my website if this helps. |
This pull request has been automatically marked as stale because it has not had any recent activity. |
Thanks @michaeldorner, I've merged this fix in. |
Fixes issues of hugo v0.102 throwing the following error:
_default/term.html:16:14: executing "main" at <.Paginate>: error calling Paginate: cannot convert type page.PagesGroup to Pages
I think it was caused by no
terms
set up, but I am no Hugo expert. Could please someone check if I fixed the issue properly?