aboutsummaryrefslogtreecommitdiff
path: root/layouts/post/summary.html
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2017-11-14 10:27:19 -0500
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-11-14 23:27:19 +0800
commitfa7e44cec87ae2ec0c572cf808976492d486e969 (patch)
tree46842d1597470cea9dd86cc57ff4d30cbe404259 /layouts/post/summary.html
parentc01c9cffb711cf3c647e68fdb417a505aa44c784 (diff)
fix: separate categories (#15)
* Separate categories with whitespace * Modify the _header.scss file to add a 'ยท' character release 2.6.6
Diffstat (limited to 'layouts/post/summary.html')
-rw-r--r--layouts/post/summary.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/post/summary.html b/layouts/post/summary.html
index be4366b..bbebe31 100644
--- a/layouts/post/summary.html
+++ b/layouts/post/summary.html
@@ -6,9 +6,9 @@
<span class="post-time"> {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} </span>
{{ with .Params.categories -}}
<div class="post-category">
- {{ range . -}}
- <a href="{{ "categories" | relURL }}/{{ . | urlize }}/">{{ . }}</a>
- {{- end }}
+ {{ range . }}
+ <a href="{{ "categories" | relURL }}/{{ . | urlize }}/"> {{ . }} </a>
+ {{ end }}
</div>
{{- end }}
{{ if .Site.Params.moreMeta -}}
@@ -26,4 +26,4 @@
<a href="{{ .URL }}" class="read-more-link">{{ $lang.posts.readmore }}</a>
</div>
</div>
-</article> \ No newline at end of file
+</article>