got comments working again

This commit is contained in:
Robert McGovern 2023-01-28 15:00:08 +00:00
parent c50bf7e227
commit 061d94644f
1 changed files with 10 additions and 9 deletions

View File

@ -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 %}