Make use of relative URL

This commit is contained in:
kbe
2025-08-19 16:11:18 +02:00
parent ac76ba32f6
commit bd803eda00
2 changed files with 4 additions and 4 deletions

View File

@@ -17,10 +17,10 @@
{{ range $.Site.Data.wordpress.categories }}
<div class="mb-5">
<div class="mt-4">
<h4><a class="text-link-1" href="{{ .link }}">{{ .name }}</a></h4>
<h4><a class="text-link-1" href="{{ .link | relURL }}">{{ .name }}</a></h4>
<p>{{ .description | safeHTML }}</p>
<div class="mt-3">
<a class="button-text-1" href="{{ .link }}">Voir la catégorie</a>
<a class="button-text-1" href="{{ .link | relURL }}">Voir la catégorie</a>
</div>
</div>
</div>