From 36a8cf516994df44073cac263a2f786b08a026d4 Mon Sep 17 00:00:00 2001 From: Dave Kerr Date: Tue, 14 Jan 2020 00:46:19 +0800 Subject: 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. --- assets/_main.scss | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'assets') diff --git a/assets/_main.scss b/assets/_main.scss index 9553f61..b7a64fc 100644 --- a/assets/_main.scss +++ b/assets/_main.scss @@ -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; -- cgit v1.2.3