🐛 Fixed the post footer's tag link visit, closed #15

This commit is contained in:
凡梦星尘 2022-07-05 10:04:25 +08:00
parent 8aad5052df
commit 98cbde4863
2 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
{{- with .Params.tags }}
{{- if gt (len .) 0 }}
<div class="post-tags">
{{ range . }}
<a href="{{ . }}">{{ . }}</a>
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize | lower }}">
{{ . }}
</a>
{{- end }}
</div>
{{- end }}
{{- end }}