aboutsummaryrefslogtreecommitdiff
path: root/layouts/post/single.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/single.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/single.html')
-rw-r--r--layouts/post/single.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/post/single.html b/layouts/post/single.html
index 7960c64..3a737d3 100644
--- a/layouts/post/single.html
+++ b/layouts/post/single.html
@@ -9,9 +9,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 -}}
@@ -63,4 +63,4 @@
</nav>
</footer>
</article>
-{{- end }} \ No newline at end of file
+{{- end }}