feat: added support for Disqus (#120)

* feat: added support for Disqus
* feat: allow disqus to be disabled through frontmatter

Set:
    bookDisableComments: true

On a page to disable disqus for the content.
This commit is contained in:
Dave Kerr
2020-01-14 00:46:19 +08:00
committed by Alex Shpak
parent e037b7c70f
commit 36a8cf5169
3 changed files with 18 additions and 0 deletions
+6
View File
@@ -235,6 +235,12 @@ ul.pagination {
}
}
// Give a little extra space before showing Disqus comments. See:
// https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/disqus.html#L3
#disqus_thread {
padding-top: $padding-16;
}
.book-languages {
position: relative;
overflow: visible;