From 7e6a3a3729be2a4a27b816c636125ef80d34f077 Mon Sep 17 00:00:00 2001 From: hossainemruz Date: Fri, 29 Oct 2021 22:29:36 +0600 Subject: [PATCH] Fix disqus comment not working on new configuration style Signed-off-by: hossainemruz --- layouts/partials/disqus.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/disqus.html b/layouts/partials/disqus.html index 4ccd9e2..7235257 100644 --- a/layouts/partials/disqus.html +++ b/layouts/partials/disqus.html @@ -1,6 +1,6 @@ {{ $disqusShortName := site.DisqusShortname }} -{{ if site.Params.features.disqus.shortName }} - {{ $disqusShortName = site.Params.features.disqus.shortName }} +{{ if site.Params.features.comment.disqus.shortName }} + {{ $disqusShortName = site.Params.features.comment.disqus.shortName }} {{ end }}