From 061d94644f29e887f059592e3d9d07307337e03e Mon Sep 17 00:00:00 2001 From: Robert McGovern Date: Sat, 28 Jan 2023 15:00:08 +0000 Subject: [PATCH] got comments working again --- src/_includes/comments-providers/scripts.html | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/_includes/comments-providers/scripts.html b/src/_includes/comments-providers/scripts.html index e87bada..2afb1e8 100644 --- a/src/_includes/comments-providers/scripts.html +++ b/src/_includes/comments-providers/scripts.html @@ -1,20 +1,21 @@ -{% if site.comments.provider and page.comments %} +{% if site.comments.provider and comments or site.defaults.posts.comments %} {% case site.comments.provider %} {% when "disqus" %} - {% include /comments-providers/disqus.html %} + bing + {% include comments-providers/disqus.html %} {% when "discourse" %} - {% include /comments-providers/discourse.html %} + {% include comments-providers/discourse.html %} {% when "facebook" %} - {% include /comments-providers/facebook.html %} + {% include comments-providers/facebook.html %} {% when "staticman" %} - {% include /comments-providers/staticman.html %} + {% include comments-providers/staticman.html %} {% when "staticman_v2" %} - {% include /comments-providers/staticman_v2.html %} + {% include comments-providers/staticman_v2.html %} {% when "utterances" %} - {% include /comments-providers/utterances.html %} + {% include comments-providers/utterances.html %} {% when "giscus" %} - {% include /comments-providers/giscus.html %} + {% include comments-providers/giscus.html %} {% when "custom" %} - {% include /comments-providers/custom_scripts.html %} + {% include comments-providers/custom_scripts.html %} {% endcase %} {% endif %} \ No newline at end of file