Update disqus support, add global site config BookDisqus

This commit is contained in:
Alex Shpak
2020-01-13 17:55:24 +01:00
parent 36a8cf5169
commit ec53e2733f
7 changed files with 20 additions and 6 deletions
+1 -1
View File
@@ -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 }}