Add format param

This commit is contained in:
Will Faught
2023-03-22 22:24:35 -07:00
parent 6350366b7e
commit a47dea8864
5 changed files with 22 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
{{ $alt := .Get "alt" }}
{{ $content := .Inner | replaceRE "^\n" "" | replaceRE "\n$" "" | markdownify }}
{{ $format := .Get "format" }}
{{ $header := .Get "header" | markdownify }}
{{ $height := .Get "height" }}
{{ $image := .Get "image" }}
@@ -29,6 +30,7 @@
"class" $imageclass
"height" $height
"fetchpriority" "high"
"format" $format
"loading" "eager"
"maxheight" $maxheight
"maxwidth" $maxwidth