Use camel case for vars

This commit is contained in:
Will Faught
2025-02-06 21:42:51 -08:00
parent b840f2233a
commit 20798f3a3a
22 changed files with 226 additions and 228 deletions

View File

@@ -1,11 +1,11 @@
{{ $page := . }}
{{ $enabled := $page.Param "paige.comments.disable" | not }}
{{ $disabledkinds := $page.Param "paige.comments.disable_kinds" }}
{{ $disabledKinds := $page.Param "paige.comments.disable_kinds" }}
{{ $enabledkind := or (not $disabledkinds) (not (in $disabledkinds $page.Kind)) }}
{{ $enabledKind := or (not $disabledKinds) (not (in $disabledKinds $page.Kind)) }}
{{ if and $enabled $enabledkind }}
{{ if and $enabled $enabledKind }}
{{ template "_internal/disqus.html" $page }}
{{ partial "paige/comments/cactus.html" $page }}
{{ partial "paige/comments/commento.html" $page }}