Fix Tags having an extra space before the ,
This commit is contained in:
@@ -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
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user