Skip to content

Commit

Permalink
Match posts fro Lanyon
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisglein committed Dec 29, 2023
1 parent 3654e59 commit ae6a487
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions posts.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ layout: page
{% for post in paginator.posts %}
<div class="post">
<h1 class="post-title">
<a href="{{ post.url }}">
<a href="{{ post.url | absolute_url }}">
{{ post.title }}
</a>
</h1>
Expand All @@ -22,15 +22,15 @@ layout: page

<div class="pagination">
{% if paginator.next_page %}
<a class="pagination-item older" href="{{ site.baseurl }}page{{paginator.next_page}}">Older</a>
<a class="pagination-item older" href="{{ paginator.next_page_path | absolute_url }}">Older</a>
{% else %}
<span class="pagination-item older">Older</span>
{% endif %}
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a class="pagination-item newer" href="{{ site.baseurl }}">Newer</a>
<a class="pagination-item newer" href="{{ '/' | absolute_url }}">Newer</a>
{% else %}
<a class="pagination-item newer" href="{{ site.baseurl }}page{{paginator.previous_page}}">Newer</a>
<a class="pagination-item newer" href="{{ paginator.previous_page_path | absolute_url }}">Newer</a>
{% endif %}
{% else %}
<span class="pagination-item newer">Newer</span>
Expand Down

0 comments on commit ae6a487

Please sign in to comment.