From 950839175ab232103f6127fd6a99ac724ecc9e89 Mon Sep 17 00:00:00 2001 From: Mascari4615 <55438621+Mascari4615@users.noreply.github.com> Date: Mon, 25 Mar 2024 01:57:43 +0900 Subject: [PATCH] refactor: fix reference to comment parameter `site.comments.provider` (#1629) --- _includes/comments.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/comments.html b/_includes/comments.html index 39e521f..fef135f 100644 --- a/_includes/comments.html +++ b/_includes/comments.html @@ -1,5 +1,5 @@ - -{% if page.comments and site.comments.active %} - {% capture path %}comments/{{ site.comments.active }}.html{% endcapture %} + +{% if page.comments and site.comments.provider %} + {% capture path %}comments/{{ site.comments.provider }}.html{% endcapture %} {% include {{ path }} %} {% endif %}