mirror of
https://github.com/pawroman/zola-theme-terminimal
synced 2024-11-28 23:30:29 +00:00
Merge pull request #61 from rukai/fix_post_view_navigation
Fix postview navigation
This commit is contained in:
commit
74521c02b5
1 changed files with 26 additions and 24 deletions
|
@ -33,7 +33,8 @@
|
|||
|
||||
|
||||
{% 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__title">
|
||||
<span class="pagination__title-h">{{ config.extra.post_view_navigation_prompt }}</span>
|
||||
|
@ -59,6 +60,7 @@
|
|||
</div>
|
||||
</div>
|
||||
{% endif -%}
|
||||
{% endif -%}
|
||||
{% endmacro earlier_later %}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue