2021-06-08 14:53:38 +02:00
|
|
|
<% if $ShowTitle || $Content %>
|
2021-06-08 15:30:06 +02:00
|
|
|
<% if $ShowTitle %>
|
|
|
|
<h2 class="element__title">$Title</h2>
|
|
|
|
<% end_if %>
|
|
|
|
<% if $Content %>
|
|
|
|
<div class="element__html typography">$Content</div>
|
|
|
|
<% end_if %>
|
2021-06-08 14:53:38 +02:00
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
<% if $SlideShow %>
|
|
|
|
<div class="element__content">
|
2021-06-19 20:10:56 +02:00
|
|
|
<div id="Carousel{$ID}" class="element__carousel carousel slide js-carousel"<% if $SlideShow.count > 1 %><% if $Interval %> data-bs-interval="$Interval"<% end_if %> data-bs-indicators="true" data-bs-arrows="true"<% end_if %>>
|
2021-06-08 14:53:38 +02:00
|
|
|
<div class="carousel-inner">
|
|
|
|
<% loop $SlideShow %>
|
|
|
|
<div class="carousel-item carousel-item-{$SlideType}<% if no $Controls %> carousel-item-nocontrols<% end_if %><% if $First %> active<% end_if %>">
|
|
|
|
<div class="carousel-slide">
|
|
|
|
<% include SlideItem %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end_loop %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|