Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Content.pagination Vs show_pagination

Started by Pedro M 4 years ago · 0 replies · 511 views
4 years ago

Hi there.

In the Quark theme, pagination is defined as a boolean variable twice, once in blog.yaml as content.pagination and once in blog-bits.yaml as show_pagination.

The blog template displays pagination if content.pagination and show_pagination are true. However, if content.pagination is not defined, even if show_pagination is true, the pagination is not displayed.

What is the difference between content.pagination and show_pagination?

Does it make sense to have two variables defined for the same purpose?

Thank you

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 24 hours ago
2 40 17 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago