fix(commenting): incorrect path to comments plugin (#3271)

This commit is contained in:
Steve Jobz authored and GitHub committed 2025-10-06 23:57:36 +01:00
1 parent aa95877e92
commit bc5bf3c748
1 file changed
+2 -2
@@ -1,8 +1,8 @@
{{ $provider := trim (site.Params.features.comment.provider | lower) " " }}
{{ if $provider }}
{{ $provider_tpl := printf "_partials/comments/%s.html" $provider }}
{{ $provider_exists := templates.Exists $provider_tpl }}
{{ $provider_tpl := printf "comments/%s.html" $provider }}
{{ $provider_exists := templates.Exists (printf "_partials/%s" $provider_tpl) }}
{{ if not $provider_exists }}
{{ errorf "The '%s' comment provider was not found." $provider }}
{{ end }}