Fix tags issues

This commit is contained in:
Ivaylo Ivanov 2025-02-19 23:01:09 +01:00
parent 4abc133ca9
commit c5bbf1477e
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
{{if .Params.tags}} {{if .Params.tags}}
<hr class="footer-divider"> <hr class="footer-divider">
{{ range .Params.tags }} {{ range .Params.tags }}
<a class="tag" href="{{ $.Site.BaseURL }}/tags/{{ . | urlize }}">#{{.}}</a> <a class="tag" href="{{ "/tags/" | relURL }}{{ . | urlize }}">#{{.}}</a>
{{ end }} {{ end }}
{{ end }} {{ end }}
</div> </div>

View File

@ -27,7 +27,7 @@
<!-- Display tags --> <!-- Display tags -->
{{if .Params.tags}} {{if .Params.tags}}
{{ range .Params.tags }} {{ range .Params.tags }}
<a class="tag" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">#{{.}}</a> <a class="tag" href="{{ "/tags/" | relURL }}{{ . | urlize }}">#{{.}}</a>
{{ end }} {{ end }}
{{ end }} {{ end }}
</div> </div>