Skip to content

Fix: fix pagination call#172

Open
Levdbas wants to merge 1 commit into2.xfrom
fix-pagination
Open

Fix: fix pagination call#172
Levdbas wants to merge 1 commit into2.xfrom
fix-pagination

Conversation

@Levdbas
Copy link
Member

@Levdbas Levdbas commented Feb 26, 2026

Related:

Issue

We refer to all pagination like this:

{% include 'partials/pagination.twig' with {
    pagination: posts.pagination({
        show_all: false,
        mid_size: 3,
        end_size: 2
    })
} %}

But then in the pagination.twig we are checking posts.pagination again. This is strange and causes confusion. Lets fix that.

Solution

Fix the check in pagination.twig

Impact

Better starter theme

Usage Changes

no

@Levdbas Levdbas changed the title 2.x Fix: fix pagination call Feb 26, 2026
@szepeviktor
Copy link
Contributor

What a fix!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants