diff --git a/layouts/shortcodes/carousel.html b/layouts/shortcodes/carousel.html index 9ce77a46..769a2e5f 100644 --- a/layouts/shortcodes/carousel.html +++ b/layouts/shortcodes/carousel.html @@ -1,5 +1,6 @@ {{ $time := now.UnixNano }} {{ $id := delimit (slice "gallery" $time) "-" }} +{{ $aspect := default "ratio-16-9" (.Get "aspectRatio") }}