mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 18:15:31 +00:00
fix(commenting): incorrect path to comments plugin (#3271)
This commit is contained in:
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 }}
|
||||
|
||||
Reference in new issue
Block a user