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

@@ -2,15 +2,15 @@
{{ $breakpoints := .Get "breakpoints" }}
{{ $class := .Get "class" }}
{{ $densities := .Get "densities" }}
{{ $fetchpriority := .Get "fetchpriority" }}
{{ $height := .Get "height" }}
{{ $images := .Get 0 | default (.Get "images") }}
{{ $justify := .Get "justify" | default "center" }}
{{ $linked := .Get "linked" }}
{{ $loading := .Get "loading" }}
{{ $maxheight := .Get "maxheight" }}
{{ $maxwidth := .Get "maxwidth" }}
{{ $maxHeight := .Get "maxheight" }}
{{ $maxWidth := .Get "maxwidth" }}
{{ $page := .Page }}
{{ $priority := .Get "fetchpriority" }}
{{ $process := .Get "process" }}
{{ $style := .Get "style" }}
{{ $type := .Get "type" | default "rows" }}
@@ -53,12 +53,12 @@
"breakpoints" $breakpoints
"class" (printf "img-fluid %s" $class)
"densities" $densities
"fetchpriority" $fetchpriority
"fetchpriority" $priority
"height" $height
"linked" $linked
"loading" $loading
"maxheight" $maxheight
"maxwidth" $maxwidth
"maxheight" $maxHeight
"maxwidth" $maxWidth
"page" $page
"process" $process
"resource" .
@@ -79,12 +79,12 @@
"breakpoints" $breakpoints
"class" (printf "img-fluid %s" $class)
"densities" $densities
"fetchpriority" $fetchpriority
"fetchpriority" $priority
"height" $height
"linked" $linked
"loading" $loading
"maxheight" $maxheight
"maxwidth" $maxwidth
"maxheight" $maxHeight
"maxwidth" $maxWidth
"page" $page
"process" $process
"resource" .