fix: correct tags CSS

This commit is contained in:
2022-11-14 09:36:46 +01:00
parent 667aca6306
commit d283d0ccf3
4 changed files with 21 additions and 19 deletions

View File

@@ -9,10 +9,10 @@
<div>
Le <time datetime="{{ article.data.date | htmlDateString }}">{{ article.data.date | readableDate }}</time> {{ article.data.authors | readableAuthors }}
</div>
<ul >
<ul class="post-tags">
{%- for tag in article.data.tags | filterTagList %}
{%- set tagUrl %}/tags/{{ tag | slugify }}/{% endset %}
<li><a href="{{ tagUrl }}" class="post-tag">#{{ tag }}</a>{%- if not loop.last %} {% endif %}</li>
<li class="post-tag"><a href="{{ tagUrl }}">#{{ tag }}</a>{%- if not loop.last %} {% endif %}</li>
{%- endfor %}
</ul>
</div>

View File

@@ -2,6 +2,6 @@
<ul class="tags">
{% for tag in collections.all | getAllTags | filterTagList %}
{% set tagUrl %}/blog/tags/{{ tag | slugify }}/{% endset %}
<li><a href="{{ tagUrl }}" class="post-tag">#{{ tag }}</a></li>
<li class="post-tag"><a href="{{ tagUrl }}">#{{ tag }}</a></li>
{% endfor %}
</ul>