refactor: migrate tags and sitemap to /blog subdirectory

This commit is contained in:
2022-11-09 10:00:38 +01:00
parent 782f466ee6
commit ef6277b65c
6 changed files with 4 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
<div class="title">Catégories</div>
<ul class="tags">
{% for tag in collections.all | getAllTags | filterTagList %}
{% set tagUrl %}/tags/{{ tag | slugify }}/{% endset %}
{% set tagUrl %}/blog/tags/{{ tag | slugify }}/{% endset %}
<li><a href="{{ tagUrl }}" class="post-tag">#{{ tag }}</a></li>
{% endfor %}
</ul>