Add missing $page

This commit is contained in:
Will Faught
2023-01-29 15:13:56 -08:00
parent 4274d8fe39
commit 1d04fe67fe
2 changed files with 4 additions and 4 deletions

View File

@@ -16,13 +16,13 @@
{{ $style = "height: 20rem; object-fit: cover" }}
{{ end }}
<p {{ if not .Params.image_stretch }} class="text-center" {{ end }}>
<p {{ if not $page.Params.image_stretch }} class="text-center" {{ end }}>
{{ partial "paige/img.html" (dict
"class" $class
"fetchpriority" "high"
"loading" "eager"
"raw" .Params.image_raw
"src" .Params.image_url
"raw" $page.Params.image_raw
"src" $page.Params.image_url
"style" $style
) }}
</p>