Skip to content

Commit 1274581

Browse files
author
Furkan Akkurt
authored
Delete extra space ; Update post.liquid (#2452)
It seems the same problem exists in the posts as well. The relevant PR is [here](#2444).
1 parent 50a2f67 commit 1274581

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

_layouts/post.liquid

+8-4
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ layout: default
3434
{% for tag in page.tags %}
3535
{% if url_beginning == '/blog/' %}
3636
<a href="{{ tag | slugify | prepend: '/blog/tag/' | prepend: site.baseurl}}"> <i class="fa-solid fa-hashtag fa-sm"></i> {{ tag }}</a>
37-
&nbsp;
3837
{% else %}
39-
<i class="fa-solid fa-hashtag fa-sm"></i> {{ tag }} &nbsp;
38+
<i class="fa-solid fa-hashtag fa-sm"></i> {{ tag }}
4039
{% endif %}
40+
{% unless forloop.last %}
41+
&nbsp;
42+
{% endunless %}
4143
{% endfor %}
4244
{% endif %}
4345

@@ -48,10 +50,12 @@ layout: default
4850
<a href="{{ category | slugify | prepend: '/blog/category/' | prepend: site.baseurl}}">
4951
<i class="fa-solid fa-tag fa-sm"></i> {{ category -}}
5052
</a>
51-
&nbsp;
5253
{% else %}
53-
<i class="fa-solid fa-tag fa-sm"></i> {{ category }} &nbsp;
54+
<i class="fa-solid fa-tag fa-sm"></i> {{ category }}
5455
{% endif %}
56+
{% unless forloop.last %}
57+
&nbsp;
58+
{% endunless %}
5559
{% endfor %}
5660
{% endif %}
5761
</p>

0 commit comments

Comments
 (0)