refactor: fix reference to comment parameter site.comments.provider (#1629)

This commit is contained in:
Mascari4615 2024-03-25 01:57:43 +09:00 committed by GitHub
parent 13bf51e03d
commit 950839175a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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