remove space character from a href to avoid %20 appearing in URL's

This commit is contained in:
zutto 2022-04-15 19:13:13 +03:00
parent 2e5cfdbdb9
commit 81fa13ce71

View file

@ -2,7 +2,7 @@
<div class="entry__meta-tags meta-tags">
<span class="meta-tags__list">{{ T "meta_tags" }}:
{{- range $index, $category := .Params.tags }}{{ if gt $index 0 }}, {{ end }}
<a class="meta-tags__link" href="{{ " tags/" | relLangURL }}{{ . | urlize | lower }}/" rel="tag">
<a class="meta-tags__link" href="{{ "tags/" | relLangURL }}{{ . | urlize | lower }}/" rel="tag">
{{- . -}}
</a>
{{- end }}