Skip to content

Commit

Permalink
Delete extra space ; Update post.liquid (alshedivat#2452)
Browse files Browse the repository at this point in the history
It seems the same problem exists in the posts as well. The relevant PR
is [here](alshedivat#2444).
  • Loading branch information
furkanakkurt1335 authored and Karapost committed Jul 4, 2024
1 parent d6f0dc3 commit 72da4dd
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions _layouts/post.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ layout: default
{% for tag in page.tags %}
{% if url_beginning == '/blog/' %}
<a href="{{ tag | slugify | prepend: '/blog/tag/' | prepend: site.baseurl}}"> <i class="fa-solid fa-hashtag fa-sm"></i> {{ tag }}</a>
&nbsp;
{% else %}
<i class="fa-solid fa-hashtag fa-sm"></i> {{ tag }} &nbsp;
<i class="fa-solid fa-hashtag fa-sm"></i> {{ tag }}
{% endif %}
{% unless forloop.last %}
&nbsp;
{% endunless %}
{% endfor %}
{% endif %}

Expand All @@ -48,10 +50,12 @@ layout: default
<a href="{{ category | slugify | prepend: '/blog/category/' | prepend: site.baseurl}}">
<i class="fa-solid fa-tag fa-sm"></i> {{ category -}}
</a>
&nbsp;
{% else %}
<i class="fa-solid fa-tag fa-sm"></i> {{ category }} &nbsp;
<i class="fa-solid fa-tag fa-sm"></i> {{ category }}
{% endif %}
{% unless forloop.last %}
&nbsp;
{% endunless %}
{% endfor %}
{% endif %}
</p>
Expand Down

0 comments on commit 72da4dd

Please sign in to comment.