Use proper link concatenation

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
2024-06-23 14:17:15 -07:00
parent 7e8a89ccd2
commit 1a9d9f33cf
3 changed files with 9 additions and 9 deletions

View File

@@ -2,8 +2,8 @@
<h2>{{ .Title }}</h2>
<div class="post-subscript">
<p>
{{- range .Params.tags }}
<a class="button" href="{{ $.Site.BaseURL }}/tags/{{ . | urlize }}">{{ . }}</a>
{{- range (.GetTerms "tags") -}}
<a class="button" href="{{ .Permalink }}">{{ .Title }}</a>
{{ end -}}
</p>
<p>{{ i18n "postedOn" (.Date.Format "January 2, 2006") }}.</p>