From 826fa2ee1840ffdf6f9ebd7f944dcfdf245e49e4 Mon Sep 17 00:00:00 2001
From: Maikel <maikel.bollemeijer@gmail.com>
Date: Tue, 01 May 2018 18:59:02 +0000
Subject: [PATCH] Disqus support, exampleSite preview through make commando (#16)
---
layouts/partials/post.html | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/layouts/partials/post.html b/layouts/partials/post.html
index b32ccd9..a48aeed 100644
--- a/layouts/partials/post.html
+++ b/layouts/partials/post.html
@@ -32,4 +32,11 @@
{{ .Content }}
</article>
-</section>
+
+ <br/>
+
+ {{ if and (not (eq .Site.DisqusShortname "" )) (eq (.Params.disable_comments | default false) false)}}
+ {{ template "_internal/disqus.html" . }}
+ {{ end }}
+
+</section>
\ No newline at end of file
--
Gitblit v1.10.0