diff --git a/layouts/shortcodes/imgproc.html b/layouts/shortcodes/imgproc.html index 662a37c..6681b0a 100644 --- a/layouts/shortcodes/imgproc.html +++ b/layouts/shortcodes/imgproc.html @@ -1,6 +1,7 @@ {{ $original := .Page.Resources.GetMatch (printf "*%s*" (.Get 0)) }} {{ $command := .Get 1 }} {{ $options := .Get 2 }} +{{ $position := .Get 3}} {{ if eq $command "Fit"}} {{ .Scratch.Set "image" ($original.Fit $options) }} @@ -14,7 +15,7 @@ {{ $image := .Scratch.Get "image" }} -
+
{{ with .Inner }}