Merge pull request #61 from rukai/fix_post_view_navigation

Fix postview navigation
This commit is contained in:
Paweł Romanowski 2024-06-05 19:53:29 +02:00 committed by GitHub
commit 74521c02b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 %}