Skip to content

Commit 9508391

Browse files
authored
refactor: fix reference to comment parameter site.comments.provider (cotes2020#1629)
1 parent 13bf51e commit 9508391

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_includes/comments.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<!-- The comments switcher -->
2-
{% if page.comments and site.comments.active %}
3-
{% capture path %}comments/{{ site.comments.active }}.html{% endcapture %}
1+
<!-- The comments switcher -->
2+
{% if page.comments and site.comments.provider %}
3+
{% capture path %}comments/{{ site.comments.provider }}.html{% endcapture %}
44
{% include {{ path }} %}
55
{% endif %}

0 commit comments

Comments
 (0)