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

Builtin css only works when header.pagination is set to true #48

Open
NicoHood opened this issue Sep 5, 2020 · 1 comment
Open

Builtin css only works when header.pagination is set to true #48

NicoHood opened this issue Sep 5, 2020 · 1 comment

Comments

@NicoHood
Copy link

NicoHood commented Sep 5, 2020

I want to use the builtin css of the pagination plugin. However it looks like a header variable must be set for that:

if ($page && ($page->value('header.content.pagination') || $page->value('header.pagination'))) {

Since I am using pagination in twig templates (via {% do paginate( collection, limit ) %}), I want to enable the css either in general or at least from the twig template. The current solution seems a bit odd to me, but I might be wrong.

@NicoHood
Copy link
Author

NicoHood commented Sep 5, 2020

related: #42

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