aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 7136bfb..8a4c168 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -8,8 +8,10 @@
<div class="content">
{{ .Content }}
</div>
- {{- with .Params.comments }}
- {{ with .Site.DisqusShortname }}{{ partialCached "disqus.html" . }}{{ end }}
+ {{- if and .Params.comments .Site.DisqusShortname }}
+ <div id="disqus" class="thin">
+ {{ template "_internal/disqus.html" . }}
+ </div>
{{- end }}
</main>
{{ end }}