summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/single.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index c3c2aa2..dc391d6 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -35,19 +35,18 @@
{{ if .Param "showTags" }}
{{ $taxonomy := "tags" }}
-
{{ with .Param $taxonomy }}
- {{ $last := sub (. | len) 1 }}
<div class="single-tags">
{{ range $index, $tag := . }}
{{ with $.Site.GetPage (printf "/%s/%s" $taxonomy $tag) -}}
<span>
- <a href="{{ .Permalink }}">#{{ $tag | urlize }}</a>
+ <a href="{{ .Permalink }}">#{{ .LinkTitle }}</a>
</span>
{{ end }}
{{ end }}
</div>
+
{{ end }}
{{ end }}