Skip to content

Commit

Permalink
Remove again relative urls
Browse files Browse the repository at this point in the history
  • Loading branch information
piazzai committed Jan 22, 2024
1 parent 821edb2 commit 410da79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _includes/pagination.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div class="pagination">
{% if paginator.next_page %}
<a class="pagination-item older" href="{{ paginator.next_page_path | relative_url }}">{% include svg/nav-arrow-left.svg %} Older</a>
<a class="pagination-item older" href="{{ paginator.next_page_path }}">{% include svg/nav-arrow-left.svg %} Older</a>
{% else %}
<span class="pagination-item older">{% include svg/nav-arrow-left.svg %} Older</span>
{% endif %}
{% if paginator.previous_page %}
<a class="pagination-item newer" href="{{ paginator.previous_page_path | relative_url }}">Newer {% include svg/nav-arrow-right.svg %}</a>
<a class="pagination-item newer" href="{{ paginator.previous_page_path }}">Newer {% include svg/nav-arrow-right.svg %}</a>
{% else %}
<span class="pagination-item newer">Newer {% include svg/nav-arrow-right.svg %}</span>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/postlist.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div>
{% for post in paginator.posts %}
<h1><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h1>
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
<time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">{{ post.date | date: "%B %e, %Y" }}</time>
<p class="lead">{{ post.lead }}</p>
{{ post.content }}
Expand Down

0 comments on commit 410da79

Please sign in to comment.