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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Content.pagination Vs show_pagination

Started by Pedro M 3 years ago · 0 replies · 259 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 Jerry Hunt, 4 days ago
2 80 10 hours ago
General · by pamtbaau, 15 hours ago
1 51 15 hours ago
General · by Andy Miller, 1 day ago
0 45 1 day ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 40 5 days ago