Skip to content

Commit

Permalink
use square version
Browse files Browse the repository at this point in the history
  • Loading branch information
tenax66 committed Jan 2, 2025
1 parent a403367 commit 49a3d75
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,18 @@ <h1>{{ page.title }}</h1>

<div class="d-flex justify-content-between">
{% if page.previous %}
<a href="{{ page.previous.url }}"><i class="fa-solid fa-caret-left fa-2xl transition-arrow"></i></a>
<a href="{{ page.previous.url }}"><i class="fa-solid fa-square-caret-left fa-2xl transition-arrow"></i></a>
{% else %}
<a href="{{ page.previous.url }}"><i class="invisible fa-solid fa-caret-left fa-2xl transition-arrow"></i></a>
<a href="{{ page.previous.url }}"><i
class="invisible fa-solid fa-square-caret-left fa-2xl transition-arrow"></i></a>
{% endif %}

<a href="{{ site.url }}" class="fs-5">HOME</a>

{% if page.next %}
<a href="{{ page.next.url }}"><i class="fa-solid fa-caret-right fa-2xl transition-arrow"></i></a>
<a href="{{ page.next.url }}"><i class="fa-solid fa-square-caret-right fa-2xl transition-arrow"></i></a>
{% else %}
<a href="{{ page.next.url }}"><i class="invisible fa-solid fa-caret-right fa-2xl transition-arrow"></i></a>
<a href="{{ page.next.url }}"><i class="invisible fa-solid fa-square-caret-right fa-2xl transition-arrow"></i></a>
{% endif %}
</div>
</div>
9 changes: 5 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,21 @@ <h2 class="archive-month">{{ currYear }}.{{ currMonth }}</h2>
<div class="pagination d-flex justify-content-between">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}"><i
class="previous fa-solid fa-caret-left fa-2xl transition-arrow"></i></a>
class="previous fa-solid fa-square-caret-left fa-2xl transition-arrow"></i></a>
{% else %}
<a href="{{ paginator.previous_page_path }}"><i
class="invisible previous fa-solid fa-caret-left fa-2xl transition-arrow"></i></a>
class="invisible previous fa-solid fa-square-caret-left fa-2xl transition-arrow"></i></a>
{% endif %}

<span class="page_number fs-5">
{{ paginator.page }} of {{ paginator.total_pages }}
</span>

{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}"><i class="next fa-solid fa-caret-right fa-2xl transition-arrow"></i></a>
<a href="{{ paginator.next_page_path }}"><i
class="next fa-solid fa-square-caret-right fa-2xl transition-arrow"></i></a>
{% else %}
<a href="{{ paginator.next_page_path }}"><i
class="invisible next fa-solid fa-caret-right fa-2xl transition-arrow"></i></a>
class="invisible next fa-solid fa-square-caret-right fa-2xl transition-arrow"></i></a>
{% endif %}
</div>

0 comments on commit 49a3d75

Please sign in to comment.