Skip to content

Commit

Permalink
Delete extra space ; Update post.liquid (#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](#2444).
  • Loading branch information
furkanakkurt1335 authored May 28, 2024
1 parent 50a2f67 commit 1274581
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 1274581

Please sign in to comment.