Merge pull request #68 from zutto/TAGS_URL

Entry/meta/tags: remove space character from a href to avoid %20 appearing in URL's
This commit is contained in:
Vimux 2022-04-15 20:45:07 +03:00 committed by GitHub
commit 8e6814b45a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 }}