From ec53e2733fca61ac986638157345f733a3a5102e Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 13 Jan 2020 17:55:24 +0100 Subject: Update disqus support, add global site config BookDisqus --- layouts/partials/docs/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/partials/docs/footer.html b/layouts/partials/docs/footer.html index 777fd5f..c123960 100644 --- a/layouts/partials/docs/footer.html +++ b/layouts/partials/docs/footer.html @@ -26,6 +26,6 @@ -{{ if and (not (eq .Site.DisqusShortname "")) (not .Params.bookDisableComments ) }} +{{ if (default true (default .Site.Params.BookDisqus .Params.bookDisqus)) }} {{ template "_internal/disqus.html" . }} {{ end }} -- cgit v1.2.3