summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/docs/footer.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/docs/footer.html b/layouts/partials/docs/footer.html
index 99d4926..777fd5f 100644
--- a/layouts/partials/docs/footer.html
+++ b/layouts/partials/docs/footer.html
@@ -25,3 +25,7 @@
{{ end }}
</div>
+
+{{ if and (not (eq .Site.DisqusShortname "")) (not .Params.bookDisableComments ) }}
+ {{ template "_internal/disqus.html" . }}
+{{ end }}