From d074c8eff1bbbc00b35b2bbb29fe7c3790de14ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sun, 15 Jul 2018 15:05:51 +0200 Subject: visibility of tags and disqus box --- layouts/_default/single.html | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'layouts/_default') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 74aacc0..308510f 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,7 +1,7 @@ {{ define "main" }}
+ style="background-image:url({{ .Params.coverimage }})">

{{ .Title }}

@@ -16,15 +16,20 @@
+ {{ with .Params.tags }}

Tagged in

- {{ range .Params.tags }} - {{ . }} + {{ range . }} + {{ . }} + {{ end }} {{ end }}
-
- {{ template "_internal/disqus.html" . }} -
+ {{ if not (eq .Params.comments false) }} +
+ {{ template "_internal/disqus.html" . }} +
+ {{ end }}
{{ end }} -- cgit v1.2.3