Fix anchor in tags

This commit is contained in:
BernatBC 2024-02-11 16:42:15 +01:00
parent e8b0cfb32e
commit 9c61743d3e
2 changed files with 17 additions and 12 deletions

View file

@ -1,8 +1,8 @@
<div class="tags">
<ul style="padding-left: 0;">
{{ range . }}
{{ $url:= printf "tags/%s/" . }}
<li class="rounded"><a href="{{ $url | urlize | relLangURL }}" class="btn, btn-sm">{{ . }}</a></li>
{{ end }}
</ul>
<ul style="padding-left: 0;">
{{ range . }}
{{ $url:= printf "tags/%s/" . }}
<li class="rounded"><button href="{{ $url | urlize | relLangURL }}" class="btn, btn-sm">{{ . }}</button></li>
{{ end }}
</ul>
</div>