diff --git a/layouts/shortcodes/carousel.html b/layouts/shortcodes/carousel.html index 769a2e5f..928ace96 100644 --- a/layouts/shortcodes/carousel.html +++ b/layouts/shortcodes/carousel.html @@ -1,12 +1,13 @@ {{ $time := now.UnixNano }} {{ $id := delimit (slice "gallery" $time) "-" }} -{{ $aspect := default "ratio-16-9" (.Get "aspectRatio") }} +{{ $aspect := default "16-9" (.Get "aspectRatio") }} +{{ $images := .Page.Resources.Match (.Get "images") }}