diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html index e35221d..b01a098 100644 --- a/layouts/shortcodes/image.html +++ b/layouts/shortcodes/image.html @@ -1 +1,7 @@ -

example image

+{{ $image := .Page.Resources.GetMatch (.Get "src") }} +{{ partial "image.html" + (dict + "image" $image + "alt" (.Get "alt") + "sizes" (slice 320 480 600) + "classes" (slice "fill-wh")) }} \ No newline at end of file