Skip to content
Snippets Groups Projects
Verified Commit c505d36c authored by Jake's avatar Jake
Browse files

fixed wrong number of cards rendering

parent ad6cfa34
No related branches found
No related tags found
No related merge requests found
Pipeline #313273 passed
......@@ -30,7 +30,7 @@
{{ open() }}
{%- endif -%}
{%- for page in pages -%}
{%- if max is none or loop.index < max -%}
{%- if max is none or loop.index <= max -%}
{{ cards.card_from_page(page, lang) }}
{%- endif -%}
{%- endfor -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment