Fix disqus

This commit is contained in:
Carson Ip
2017-02-19 11:06:53 +01:00
parent 57448c2dd3
commit af7f25fef9
3 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
{{ partial "header.html" . }}
<section id="main" class="outer">
{{ partial "article.html" . }}
{{ if not .Params.nocomment }}
{{ if and (not .Params.nocomment) .Site.Params.disqusShortname }}
{{ template "_internal/disqus.html" . }}
{{ end }}
</section>