1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Integrate utterances comments

This commit is contained in:
Cotes Chung
2021-12-11 17:24:08 +08:00
parent 75176522e3
commit d315bf57e7
5 changed files with 64 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
<!-- The comments switcher -->
{% if page.comments and site.comments.active %}
{% include {{ site.comments.active | append: '.html' }} %}
{% capture path %}comments/{{ site.comments.active }}.html{% endcapture %}
{% include {{ path }} %}
{% endif %}