diff --git a/themes/lhs-retro/layouts/shortcodes/image.html b/themes/lhs-retro/layouts/shortcodes/image.html index c4599be..4d93dda 100644 --- a/themes/lhs-retro/layouts/shortcodes/image.html +++ b/themes/lhs-retro/layouts/shortcodes/image.html @@ -1,7 +1,5 @@ {{ $img := .Page.Resources.GetMatch (printf "*%s*" (.Get "src")) }} {{ $width := .Get "width" }} -{{ $img = $img.Resize (print (default "640x" $width) " jpeg picture") }} +{{ $rimg := $img.Resize (print (default "640x" $width) " jpeg picture") }} {{ $title := .Get "title" }} -{{ $class := .Get "class" }} -{{ $title }} \ No newline at end of file +{{ $title }} \ No newline at end of file