aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs/footer.html
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-01-13 17:55:24 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-01-13 17:55:34 +0100
commitec53e2733fca61ac986638157345f733a3a5102e (patch)
tree32148863cda9032b42d6485f8a6223b2b7badea8 /layouts/partials/docs/footer.html
parent36a8cf516994df44073cac263a2f786b08a026d4 (diff)
Update disqus support, add global site config BookDisqus
Diffstat (limited to 'layouts/partials/docs/footer.html')
-rw-r--r--layouts/partials/docs/footer.html2
1 files changed, 1 insertions, 1 deletions
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 @@
</div>
-{{ if and (not (eq .Site.DisqusShortname "")) (not .Params.bookDisableComments ) }}
+{{ if (default true (default .Site.Params.BookDisqus .Params.bookDisqus)) }}
{{ template "_internal/disqus.html" . }}
{{ end }}