aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2021-11-09 16:46:22 +0100
committerJulien Dessaux2021-11-09 16:46:22 +0100
commitb8c8e0828c022f540249d3357e9be48fa311acb0 (patch)
tree107893a1404a48583f7cbe6d814020f4c0200b59
parentAdded eleventh metal book article (diff)
downloadwww-b8c8e0828c022f540249d3357e9be48fa311acb0.tar.gz
www-b8c8e0828c022f540249d3357e9be48fa311acb0.tar.bz2
www-b8c8e0828c022f540249d3357e9be48fa311acb0.zip
Fixed tags links in blog articles
Diffstat (limited to '')
-rw-r--r--layouts/_default/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 354384d..db2c555 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -5,7 +5,7 @@
<p>
{{ if ne .PublishDate.Year 1 }}{{ .PublishDate.Format "2006-01-02" }} - {{ end }}{{ .Description }}
-{{ if (isset .Params "tags") }}{{ if ge (len .Params.tags) 1 }}<br/>Tag{{ if ge (len .Params.tags) 2 }}s{{ end }}: {{ range .Params.tags }}<a href="/tags/{{ . }}">{{ . }}</a> {{ end }}{{ end }}{{ end }}
+{{ if (isset .Params "tags") }}{{ if ge (len .Params.tags) 1 }}<br/>Tag{{ if ge (len .Params.tags) 2 }}s{{ end }}: {{ range .Params.tags }}{{ with $.Site.GetPage (printf "/%s/%s" "tags" .) }}<a href="{{ .Permalink }}">{{ .Title }}</a> {{ end }}{{ end }}{{ end }}{{ end }}
</p>
{{ partial "toc.html" . }}