aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorDave Kerr <dwmkerr@gmail.com>2020-01-14 00:46:19 +0800
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-01-13 17:46:19 +0100
commit36a8cf516994df44073cac263a2f786b08a026d4 (patch)
treea1bf707680f9e7838ebb0fed1dcd8987e1f3da23 /assets
parente037b7c70f3800a2cd38715ca31cd4cdca71c96e (diff)
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.
Diffstat (limited to 'assets')
-rw-r--r--assets/_main.scss6
1 files changed, 6 insertions, 0 deletions
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;