aboutsummaryrefslogtreecommitdiff
path: root/layouts/post/summary.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/post/summary.html')
-rw-r--r--layouts/post/summary.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/post/summary.html b/layouts/post/summary.html
index 6069ca1..c06e292 100644
--- a/layouts/post/summary.html
+++ b/layouts/post/summary.html
@@ -5,14 +5,14 @@
<span class="post-time"> {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} </span>
{{ with .Params.categories -}}
<div class="post-category">
- {{ range . }}
+ {{ range . -}}
<a href="{{ "categories" | relLangURL }}/{{ . | urlize }}/"> {{ . }} </a>
- {{ end }}
+ {{ end -}}
</div>
{{- end }}
- {{ if .Site.Params.moreMeta -}}
- <span class="more-meta"> {{ T "wordCount" .WordCount }} </span>
- <span class="more-meta"> {{ T "readingTime" .ReadingTime }} </span>
+ {{- if .Site.Params.moreMeta }}
+ <span class="more-meta"> {{ T "wordCount" .WordCount }} </span>
+ <span class="more-meta"> {{ T "readingTime" .ReadingTime }} </span>
{{- end }}
</div>
</header>