diff options
author | amzrk2 | 2020-06-03 13:58:49 +0800 |
---|---|---|
committer | amzrk2 | 2020-06-03 13:58:49 +0800 |
commit | 3df71601ae866aff9c2ae060ed1ac7407807fcc4 (patch) | |
tree | ad34004b865f43aecf43d111b5586f592a1e05ba /layouts/_default/single.html | |
parent | e6afd04368f56af57b77f71be4dda5a4d9279a64 (diff) | |
download | hugo-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.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 |