summaryrefslogtreecommitdiff
path: root/layouts/partials/docs
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/docs')
-rw-r--r--layouts/partials/docs/comments.html2
-rw-r--r--layouts/partials/docs/footer.html6
2 files changed, 6 insertions, 2 deletions
diff --git a/layouts/partials/docs/comments.html b/layouts/partials/docs/comments.html
new file mode 100644
index 0000000..59c5f22
--- /dev/null
+++ b/layouts/partials/docs/comments.html
@@ -0,0 +1,2 @@
+<!-- This partial can be replaced to support other commenting engines -->
+{{ template "_internal/disqus.html" . }}
diff --git a/layouts/partials/docs/footer.html b/layouts/partials/docs/footer.html
index c123960..0665f86 100644
--- a/layouts/partials/docs/footer.html
+++ b/layouts/partials/docs/footer.html
@@ -26,6 +26,8 @@
</div>
-{{ if (default true (default .Site.Params.BookDisqus .Params.bookDisqus)) }}
- {{ template "_internal/disqus.html" . }}
+{{ if (default true (default .Site.Params.BookComments .Params.bookComments)) }}
+<div class="book-comments">
+ {{ partial "docs/comments" . }}
+</div>
{{ end }}