Fix Tags having an extra space before the ,

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2021-12-25 09:14:45 +01:00
parent d0e497e222
commit 9322700142
2 changed files with 5 additions and 6 deletions
+1 -5
View File
@@ -48,11 +48,7 @@
<span>Tags:</span>
{% for entry in include.tags %}
{% assign tag=entry | slugify: site.xaymar.links.tag.slugify %}
<span class="tag">
<a href="{{ site.xaymar.links.tag.permalink | replace: ":tag", tag | absolute_url }}">
{{ entry }}
</a>
</span>
<span class="tag"><a href="{{ site.xaymar.links.tag.permalink | replace: ":tag", tag | absolute_url }}">{{ entry }}</a></span>
{% endfor %}
</div>
{% endif %}
+4 -1
View File
@@ -105,9 +105,12 @@ article > .meta > .tags > span:first-child {
}
article > .meta > .tags > .tag {
margin: 0;
padding: 0;
}
article > .meta > .tags > .tag:not(:last-child):after {
content: ", ";
content: ",";
margin: 0;
padding: 0;
}