diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-01-17 21:44:25 +0100 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-01-17 21:44:25 +0100 |
commit | 4b641b0f9a681009e80f847f415f29ea14126420 (patch) | |
tree | 2588af1a22377e43054eb9b17561c96fa7564c57 /layouts/partials/docs/footer.html | |
parent | b9688d7e367918a1e9533dfca5bab5ae53523319 (diff) |
#133, move disqus to separate template to allow override, rename BookDisqus to BookComments
Diffstat (limited to 'layouts/partials/docs/footer.html')
-rw-r--r-- | layouts/partials/docs/footer.html | 6 |
1 files changed, 4 insertions, 2 deletions
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 }} |