diff options
author | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2018-07-10 01:41:34 +0800 |
---|---|---|
committer | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2018-07-10 01:41:34 +0800 |
commit | 5e356c5f635d45f0241854d9f43f38b2f0bd44f9 (patch) | |
tree | 52d12fa3e71c1f843c385271c2f22b8842ddc0ba /layouts/post/summary.html | |
parent | d3a1ab071c983586b474c5e5dc0fa6afb0babce8 (diff) |
style(*): google js style & trim whitespace
Diffstat (limited to 'layouts/post/summary.html')
-rw-r--r-- | layouts/post/summary.html | 10 |
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> |