Skip to content

Commit

Permalink
feat: carousel hero slider autoplay timeout value in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Sep 21, 2023
1 parent 6a326e3 commit b619d3e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

{% load unicms_templates %}

{% settings_value "CAROUSEL_HERO_AUTOPLAY_TIMEOUT" as carousel_timeout %}
{% random_id as id %}

{% if carousel_items %}
Expand Down Expand Up @@ -86,7 +87,7 @@ <h1 class="no_toc">
slideSpeed : 300,
paginationSpeed : 400,
autoplay: true,
autoplayTimeout: 5000,
autoplayTimeout: {{ carousel_timeout|default:5000 }},
items : 1,
itemsDesktop : false,
itemsDesktopSmall : false,
Expand Down

0 comments on commit b619d3e

Please sign in to comment.