Commit 5871bd6b authored by Kaushal Modi's avatar Kaushal Modi

Show the Comments section only if disqusShortname is set

parent 6018cc3f
......@@ -18,10 +18,12 @@
{{ partial "prev_next" . }}
</div>
<div class="comments clear-float">
<h1>Comments</h1>
<!-- {{ template "_internal/disqus.html" . }} -->
{{ partial "disqus" . }}
</div>
{{ if isset .Site "disqusShortname" }}
<div class="comments clear-float">
<h1>Comments</h1>
{{/* template "_internal/disqus.html" . */}}
{{ partial "disqus" . }}
</div>
{{ end }}
{{ end }}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment