aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-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 }}