From 201df82bca592d97136b6f9a8ad5e0eeaa7bfa1b Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 2 Feb 2023 11:43:04 +0000 Subject: [PATCH] Update shortcode --- layouts/shortcodes/carousel.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") }}