refactor: refactor to 11ty to support Tencent Cloud EdgeOne Maker
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-11-02 17:06:03 +08:00
parent 338858bd57
commit 21253ee102
174 changed files with 22956 additions and 30 deletions
@@ -0,0 +1,21 @@
{% assign locale = include.locale | default: site.locale %}
{% if site.comments.provider and page.comments %}
{% case site.comments.provider %}
{% when "disqus" %}
{% include /comments-providers/disqus.html %}
{% when "discourse" %}
{% include /comments-providers/discourse.html %}
{% when "facebook" %}
{% include /comments-providers/facebook.html %}
{% when "staticman" %}
{% include /comments-providers/staticman.html locale=locale %}
{% when "staticman_v2" %}
{% include /comments-providers/staticman_v2.html locale=locale %}
{% when "utterances" %}
{% include /comments-providers/utterances.html %}
{% when "giscus" %}
{% include /comments-providers/giscus.html %}
{% when "custom" %}
{% include /comments-providers/custom_scripts.html %}
{% endcase %}
{% endif %}