From 62ef2ef06f36bccddecaffc9567898899c29036d Mon Sep 17 00:00:00 2001 From: digitalcraftsman Date: Fri, 17 Jul 2015 12:21:50 +0200 Subject: Added Disqus support --- layouts/_default/single.html | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9f4f603..6bd2524 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,15 +1,19 @@ -{{ partial "head.html" . }} - + {{ partial "head.html" . }} + + {{ partial "sidebar.html" . }} -{{ partial "sidebar.html" . }} +
+
+

{{ .Title }}

+ + {{ .Content }} +
-
-
-

{{ .Title }}

- - {{ .Content }} -
-
+ {{ if and (isset .Site.Params "disqusShortname") (ne .Site.Params.disqusShortname "") }} +

Comments

+ {{ partial "disqus" . }} + {{ end }} +
-- cgit 1.4.1