Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Content.pagination Vs show_pagination

Started by Pedro M 4 years ago · 0 replies · 382 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 jeremycherfas, 1 week ago
5 192 28 minutes ago
General · by lynbor, 6 days ago
2 128 3 days ago
General · by Old Man Umby, 1 week ago
1 103 1 week ago
General · by Sebastian, 2 weeks ago
1 127 2 weeks ago
General · by Andy Miller, 3 weeks ago
0 251 3 weeks ago