Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Content.pagination Vs show_pagination

Started by Pedro M 4 years ago · 0 replies · 417 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 Andy Miller, 1 week ago
0 133 1 week ago
General · by lynbor, 1 month ago
3 451 2 weeks ago
General · by lynbor, 3 weeks ago
7 584 2 weeks ago
General · by Harry, 2 weeks ago
0 172 2 weeks ago
General · by Old Man Umby, 1 month ago
2 314 4 weeks ago