Change hero param format to process

This commit is contained in:
Will Faught
2023-04-07 23:49:45 -07:00
parent 58a2f82e51
commit 5ee01538f5
3 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,5 @@
{{ $alt := .Get "alt" }}
{{ $content := .Inner | replaceRE "^\n" "" | replaceRE "\n$" "" | markdownify }}
{{ $format := .Get "format" }}
{{ $header := .Get "header" | markdownify }}
{{ $height := .Get "height" }}
{{ $image := .Get "image" }}
@@ -8,6 +7,7 @@
{{ $maxheight := .Get "maxheight" | default "20rem" }}
{{ $maxwidth := .Get "maxwidth" }}
{{ $page := .Page }}
{{ $process := .Get "process" }}
{{ $stretch := .Get "stretch" }}
{{ $title := .Get "title" }}
{{ $width := .Get "width" }}
@@ -29,12 +29,12 @@
"alt" $alt
"class" $imageclass
"fetchpriority" "high"
"format" $format
"height" $height
"loading" "eager"
"maxheight" $maxheight
"maxwidth" $maxwidth
"page" $page
"process" $process
"src" .
"title" $title
"width" $width