Commit 849d63a7 authored by Kaushal Modi's avatar Kaushal Modi
parent c0075d7b
......@@ -18,12 +18,17 @@
{{ partial "prev_next" . }}
</div>
{{/* printf "%#v" $.Site */}}
{{/* printf "%#v" $.Site.Params */}}
{{ if isset .Site.Params "isso" }}
<div class="comments clear-float">
<h1>Comments</h1>
{{ partial "isso" . }}
</div>
{{ else if isset .Site.Params "disquscomments" }}
{{/* else if not (eq .Site.DisqusShortname "") */}}
<!-- Below works the same way as the above empty-string equality check -->
{{ else if .Site.DisqusShortname }}
<div class="comments clear-float">
<h1>Comments</h1>
{{/* template "_internal/disqus.html" . */}}
......
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