mirror of
https://github.com/pawroman/zola-theme-terminimal.git
synced 2025-01-09 12:11:05 +01:00
Merge pull request #61 from rukai/fix_post_view_navigation
Fix postview navigation
This commit is contained in:
commit
74521c02b5
|
@ -33,7 +33,8 @@
|
||||||
|
|
||||||
|
|
||||||
{% macro earlier_later(page) %}
|
{% macro earlier_later(page) %}
|
||||||
{%- if config.extra.enable_post_view_navigation and page.lower or page.higher %}
|
{%- if config.extra.enable_post_view_navigation %}
|
||||||
|
{%- if page.lower or page.higher %}
|
||||||
<div class="pagination">
|
<div class="pagination">
|
||||||
<div class="pagination__title">
|
<div class="pagination__title">
|
||||||
<span class="pagination__title-h">{{ config.extra.post_view_navigation_prompt }}</span>
|
<span class="pagination__title-h">{{ config.extra.post_view_navigation_prompt }}</span>
|
||||||
|
@ -59,6 +60,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
{% endif -%}
|
||||||
{% endmacro earlier_later %}
|
{% endmacro earlier_later %}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue