summaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authoramzrk22020-06-03 13:58:49 +0800
committeramzrk22020-06-03 13:58:49 +0800
commit3df71601ae866aff9c2ae060ed1ac7407807fcc4 (patch)
treead34004b865f43aecf43d111b5586f592a1e05ba /layouts/_default/single.html
parente6afd04368f56af57b77f71be4dda5a4d9279a64 (diff)
downloadhugo-theme-fuji-3df71601ae866aff9c2ae060ed1ac7407807fcc4.tar.gz
hugo-theme-fuji-3df71601ae866aff9c2ae060ed1ac7407807fcc4.tar.bz2
hugo-theme-fuji-3df71601ae866aff9c2ae060ed1ac7407807fcc4.zip
New comment area & opt out of font awesome
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html9
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