Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yihui/hugo-xmag.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYihui Xie <xie@yihui.name>2017-07-15 05:34:39 +0300
committerYihui Xie <xie@yihui.name>2017-07-15 05:34:39 +0300
commite9a2828d9787d02347024d6b1a8fdca974584bae (patch)
tree53cd0deb9302e26c9c83c41fa52d3a83dab74d2c
parent6661ac8bc0261b32e6bf7d1a2a0dbc94d0e0ee36 (diff)
use p instead of div to show tags (to gain some spacing above/below)
-rw-r--r--layouts/_default/single.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 760b4fd..ff93aec 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -16,8 +16,8 @@
{{ end }}
{{ with .Params.tags }}
- <div>{{ default "Tags: " (index $.Site.Params.text "tags") }} {{ range $i, $e := . }}{{ if $i }}; {{ end }}<a href="{{ relURL (print "/tags/" $e | urlize) }}">{{ $e }}</a>{{ end }}
- </div>
+ <p>{{ default "Tags: " (index $.Site.Params.text "tags") }} {{ range $i, $e := . }}{{ if $i }}; {{ end }}<a href="{{ relURL (print "/tags/" $e | urlize) }}">{{ $e }}</a>{{ end }}
+ </p>
{{ end }}
{{ partial "meta.html" . }}