From 97cf629e79b56cb723e5a0ac87db07628258638d Mon Sep 17 00:00:00 2001 From: Rohan Deb Sarkar Date: Fri, 11 Nov 2022 20:08:17 +0000 Subject: [PATCH 1/2] Add support for Disqus comments on distill posts --- _layouts/distill.html | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/_layouts/distill.html b/_layouts/distill.html index b104771aa720..3528985c28f2 100644 --- a/_layouts/distill.html +++ b/_layouts/distill.html @@ -96,13 +96,27 @@

Contents

+ + + {%- if site.disqus_shortname and page.comments -%} +
+ + + {%- endif %} {%- include footer.html %} - - {% include scripts/bootstrap.html %} {% include scripts/analytics.html %} {% include scripts/progressBar.html %} From efdd4a1c0074f151da548f98842f47aa4adc2427 Mon Sep 17 00:00:00 2001 From: Rohan Deb Sarkar Date: Fri, 11 Nov 2022 20:11:26 +0000 Subject: [PATCH 2/2] Add width and margin to Disqus comments --- _layouts/post.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/post.html b/_layouts/post.html index f571c65efa44..3acc9afd7d8a 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -44,7 +44,7 @@

{{ page.title }}

{%- if site.disqus_shortname and page.comments -%} -
+