fix: correct tags urls

pull/2/head
Nicolas Doby 2022-11-20 16:43:13 +01:00
parent 23f016ecc3
commit 5825033649
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
</div> </div>
<ul class="post-tags"> <ul class="post-tags">
{%- for tag in article.data.tags | filterTagList %} {%- for tag in article.data.tags | filterTagList %}
{%- set tagUrl %}/tags/{{ tag | slugify }}/{% endset %} {%- set tagUrl %}/blog/tags/{{ tag | slugify }}/{% endset %}
<li class="post-tag"><a href="{{ tagUrl }}">#{{ tag }}</a>{%- if not loop.last %} {% endif %}</li> <li class="post-tag"><a href="{{ tagUrl }}">#{{ tag }}</a>{%- if not loop.last %} {% endif %}</li>
{%- endfor %} {%- endfor %}
</ul> </ul>