Hi, Gents.

EDIT: Nevermind, i found my error.

i have a collection which i want to filter and paginate. But my pagination doesn’t appear in the browser. What might i consider?


Here’s my markup:

Collection:

{{ collection:resources group:contains="design" as="posts" limit="10" paginate="true" }}
{{ posts }} ... {{ /posts }}
{{ collection:resources }}

Pagination:

{{ paginate }}
<nav aria-label="Resources Navigation">
    <ul class="pagination pagination-lg my-8">
        {{ if prev_page }}
            <li class="page-item"><a class="page-link" href="{{ prev_page }}">«</a></li>
        {{ else }}
            {{#
            <li class="page-item disabled"><span class="text-reset page-link">«</span></li>
            #}}
        {{ /if }}

        {{ links:segments }}

            {{ first }}
                {{ if page == current_page }}
                    <li class="page-item active"><span class="page-link">{{ page }}</span><span class="sr-only">(current)</span></li>
                {{ else }}
                    <li class="page-item"><a class="page-link active" href="{{ url }}">{{ page }}</a></li>
                {{ /if }}
            {{ /first }}

            {{ last }}
                {{ if page == current_page }}
                    <li class="page-item active"><span class="page-link">{{ page }}</span><span class="sr-only">(current)</span></li>
                {{ else }}
                    <li class="page-item"><a class="page-link active" href="{{ url }}">{{ page }}</a></li>
                {{ /if }}
            {{ /last }}

        {{ /links:segments }}

        {{ if next_page }}
            <li class="page-item "><a class="page-link" href="{{ next_page }}">»</a></li>
        {{ else }}
            {{#
            <li class="page-item disabled"><span class="page-link">»</span></li>
            #}}
        {{ /if }}
    </ul>
</nav>  
{{ /paginate }}