diff --git a/layouts/shortcodes/carousel.html b/layouts/shortcodes/carousel.html index 928ace96..81c11343 100644 --- a/layouts/shortcodes/carousel.html +++ b/layouts/shortcodes/carousel.html @@ -2,6 +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 }}