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

fix pagination with Zola 0.16.0 #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wold5
Copy link

@wold5 wold5 commented Sep 19, 2022

Only lower/higher are now supported for a page's pagination. Noticed this as the pagination didn't appear anymore.

See Zola's changelog:
https://github.com/getzola/zola/blob/53ce6db057101b8a24631ac4212ab4f9f3d145ae/CHANGELOG.md#breaking

Unify all pages sorting variable names in templates to lower/higher in order to make it easy to re-use templates and it was becoming hard to come up with names to be honest

Also fixed a minor indentation issue.

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

Successfully merging this pull request may close these issues.

1 participant