aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/post/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/post/single.html b/layouts/post/single.html
index f19cb9b..d138eef 100644
--- a/layouts/post/single.html
+++ b/layouts/post/single.html
@@ -45,7 +45,7 @@
{{ with .Params.tags -}}
<div class="post-tags">
{{ range . -}}
- <a href="{{ "tags" | relLangURL }}/{{ . | urlize }}/">{{ . }}</a>
+ <a href="{{ "tags" | relLangURL }}/{{ . | urlize }}{{ if $.Site.Params.uglyURLs }}.html{{ else }}/{{ end }}">{{ . }}</a>
{{ end -}}
</div>
{{- end -}}