diff --git a/layouts/shortcodes/carousel.html b/layouts/shortcodes/carousel.html index 81c11343..4bc2245a 100644 --- a/layouts/shortcodes/carousel.html +++ b/layouts/shortcodes/carousel.html @@ -2,7 +2,7 @@ {{ $id := delimit (slice "gallery" $time) "-" }} {{ $aspect := default "16-9" (.Get "aspectRatio") }} {{ $images := .Page.Resources.Match (.Get "images") }} -{{ $randomDuration := add (mod (add (mul 13 $time) 97) 1000) 2000 }} +{{ $durationMillis := default "2000" (.Get "durationMillis") }}