mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 07:46:15 +02:00
feat(series): adapt reversed pagination check
Changes have been requested in Zola PR: https://github.com/getzola/zola/pull/2653. This requieres minor adaptation on properties used to reversed pagination.
This commit is contained in:
parent
127a1c80ce
commit
fdc356c079
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ Current section extra: {% if current_section %}{{ current_section.extra | json_e
|
|||
{%- if "series" in loaded_section.extra and loaded_section.extra.series -%}
|
||||
{%- set_global series_section = loaded_section -%}
|
||||
{%- set_global series_ordered_pages = loaded_section.pages -%}
|
||||
{%- if loaded_section.paginated and loaded_section.paginate_reversed -%}
|
||||
{%- if loaded_section.paginated | default(value=0) > 0 and loaded_section.paginate_reversed -%}
|
||||
{%- set_global series_ordered_pages = loaded_section.pages | reverse -%}
|
||||
{%- endif -%}
|
||||
{%- break -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue