Skip to content

Commit

Permalink
continued tweaking to pagination links
Browse files Browse the repository at this point in the history
  • Loading branch information
ehippy committed Jan 25, 2023
1 parent f452229 commit 23d5230
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ <h2 class="blog-post__title"><a href="{{ post.url }}">{{ post.title }}</a></h2>

{% if paginator.previous_page %}
<div class="pagination__prev">
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="button button--large"><i class="fa fa-angle-left" aria-hidden="true"></i> <span>Newer Posts</span></a>
<a href="{{ paginator.previous_page_path }}" class="button button--large"><i class="fa fa-angle-left" aria-hidden="true"></i> <span>Newer Posts</span></a>
</div>
{% endif %}
{% if paginator.next_page %}
<div class="pagination__next">
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="button button--large"><span>Older Posts</span> <i class="fa fa-angle-right" aria-hidden="true"></i></a>
<a href="{{ paginator.next_page_path }}" class="button button--large"><span>Older Posts</span> <i class="fa fa-angle-right" aria-hidden="true"></i></a>
</div>
{% endif %}

Expand Down

0 comments on commit 23d5230

Please sign in to comment.