{# Paginação manual (sem plugin). Params: current (int), total_pages (int), base (url). #} {%- macro page_url(base, n) -%}{{ n <= 1 ? base : base ~ '?page=' ~ n }}{%- endmacro -%} {% import _self as p %} {% if total_pages > 1 %} {% endif %}