diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 9795378..721671e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -24,8 +24,11 @@ </blockquote> </div> {{ end }} -{{ if ne .Params.noComments true }} -{{ partial "comment-utterances.html" . }} +{{ if .Site.Params.disqusJSApi }} +{{ partial "comment-disqusjs.html" . }} +{{ else if .Site.Params.disqusShortname }} {{ partial "comment-disqus.html" . }} -{{ end }} +{{ else if .Site.Params.utterancesRepo }} +{{ partial "comment-utterances.html" . }} +{{ else }}{{ end }} {{ end }}
\ No newline at end of file |