diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-01-13 17:55:24 +0100 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-01-13 17:55:34 +0100 |
commit | ec53e2733fca61ac986638157345f733a3a5102e (patch) | |
tree | 32148863cda9032b42d6485f8a6223b2b7badea8 /layouts/partials/docs | |
parent | 36a8cf516994df44073cac263a2f786b08a026d4 (diff) |
Update disqus support, add global site config BookDisqus
Diffstat (limited to 'layouts/partials/docs')
-rw-r--r-- | layouts/partials/docs/footer.html | 2 |
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 }} |