Add raw param to image shortcodes

This commit is contained in:
Will Faught
2023-01-15 23:42:03 -08:00
parent 13910ca440
commit c9a9cf9b61
5 changed files with 40 additions and 5 deletions

View File

@@ -8,6 +8,7 @@
{{ $maxwidth := .Get "maxwidth" }}
{{ $method := .Get "method" }}
{{ $options := .Get "options" }}
{{ $raw := .Get "raw" }}
{{ $src := .Get 0 | default (.Get "src") }}
{{ $title := .Get "title" }}
{{ $width := .Get "width" }}
@@ -23,6 +24,7 @@
"maxwidth" $maxwidth
"method" $method
"options" $options
"raw" $raw
"src" $src
"title" $title
"width" $width