From 466f3fa29f70a601150b40c1c603172334979ccf Mon Sep 17 00:00:00 2001 From: Rohan Deb Sarkar Date: Sat, 12 Nov 2022 09:13:16 +0530 Subject: [PATCH] Add support for Disqus comments on distill posts (#981) Fixes #980. --- _layouts/distill.html | 18 ++++++++++++++++-- _layouts/post.html | 2 +- 2 files changed, 17 insertions(+), 3 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 %} 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 -%} -
+