Skip to content

Commit

Permalink
Remove extra / from posts
Browse files Browse the repository at this point in the history
  • Loading branch information
seiteta committed Apr 30, 2024
1 parent dbd1cda commit a668c48
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ <h1 class="post-title">{{ page.title }}</h1>
{{ content }}
<span class="post-date">{% include date-fr.html date=page.date %}</span>
<span class="post-tags">Tags :
{% assign sortedTags = page.tags | sort%}
{% assign sortedTags = page.tags | sort %}
{% for tag in sortedTags %}
<a href="/tag/{{ tag }}">{{ tag }}</a> /
<a href="/tag/{{ tag }}">{{ tag }}</a>
{% unless forloop.last %} / {% endunless %}
{% endfor %}
</span>
{% include share-buttons.html %}
Expand Down

0 comments on commit a668c48

Please sign in to comment.