Merge branch 'pawroman:master' into master

This commit is contained in:
goingforbrooke 2024-07-22 13:46:20 -07:00 committed by GitHub
commit 311c614709
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 27 additions and 25 deletions

View file

@ -33,31 +33,33 @@
{% 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 %}
<div class="pagination"> {%- if page.lower or page.higher %}
<div class="pagination__title"> <div class="pagination">
<span class="pagination__title-h">{{ config.extra.post_view_navigation_prompt }}</span> <div class="pagination__title">
<hr /> <span class="pagination__title-h">{{ config.extra.post_view_navigation_prompt }}</span>
<hr />
</div>
<div class="pagination__buttons">
{%- if page.higher %}
<span class="button previous">
<a href="{{ page.higher.permalink | safe }}">
<span class="button__icon"></span>&nbsp;
<span class="button__text">{{ page.higher.title }}</span>
</a>
</span>
{% endif %}
{% if page.lower %}
<span class="button next">
<a href="{{ page.lower.permalink | safe }}">
<span class="button__text">{{ page.lower.title }}</span>&nbsp;
<span class="button__icon"></span>
</a>
</span>
{% endif -%}
</div>
</div> </div>
<div class="pagination__buttons"> {% endif -%}
{%- if page.higher %}
<span class="button previous">
<a href="{{ page.higher.permalink | safe }}">
<span class="button__icon"></span>&nbsp;
<span class="button__text">{{ page.higher.title }}</span>
</a>
</span>
{% endif %}
{% if page.lower %}
<span class="button next">
<a href="{{ page.lower.permalink | safe }}">
<span class="button__text">{{ page.lower.title }}</span>&nbsp;
<span class="button__icon"></span>
</a>
</span>
{% endif -%}
</div>
</div>
{% endif -%} {% endif -%}
{% endmacro earlier_later %} {% endmacro earlier_later %}

View file

@ -12,7 +12,7 @@
({{ term.pages | length }} post{{ term.pages | length | pluralize }}) ({{ term.pages | length }} post{{ term.pages | length | pluralize }})
</h1> </h1>
<a href="{{ config.base_url | safe }}/tags"> <a href="{{ config.base_url | safe }}/tags/">
Show all tags Show all tags
</a> </a>