From 99416a1870a07345433121a16dd7c2412b5cc8b0 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 20 Feb 2024 09:36:51 +0000 Subject: [PATCH] Link to full size images --- themes/lhs-retro/layouts/shortcodes/image.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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