Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Content.pagination Vs show_pagination

Started by Pedro M 3 years ago · 0 replies · 348 views
3 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 jean-louis67, 3 weeks ago
2 310 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 312 3 weeks ago
General · by Veehem, 4 weeks ago
0 264 4 weeks ago
General · by milkboy, 4 weeks ago
0 267 4 weeks ago
General · by ian russell, 1 month ago
2 336 1 month ago