From 3df71601ae866aff9c2ae060ed1ac7407807fcc4 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Wed, 3 Jun 2020 13:58:49 +0800 Subject: New comment area & opt out of font awesome --- layouts/_default/single.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'layouts/_default/single.html') 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 @@ {{ 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 -- cgit v1.2.3