2019-10-20 03:00:05 +02:00
|
|
|
<% if $Video || $Image %>
|
|
|
|
<% if $Video %>
|
|
|
|
<div class="video">
|
|
|
|
$Video.EmbedHTML.RAW
|
|
|
|
</div>
|
|
|
|
<% else %>
|
2019-12-17 21:43:28 +01:00
|
|
|
<% if $Image || $ImageURL %>
|
2019-10-20 03:00:05 +02:00
|
|
|
<span class="img">
|
2019-12-17 21:43:28 +01:00
|
|
|
<img class="d-block w-100"
|
2020-09-15 22:27:17 +02:00
|
|
|
src="{$EmptyImgSrc}"
|
2020-08-14 00:36:26 +02:00
|
|
|
data-lazy-src="<% if $ImageURL %>$ImageURL<% else %>$Image.FocusFill($SlideWidth,$SlideHeight).URL<% end_if %>"
|
2019-12-17 21:43:28 +01:00
|
|
|
alt="<% if $Headline %>$Headline.XML<% end_if %>"
|
|
|
|
/>
|
2019-10-20 03:00:05 +02:00
|
|
|
</span>
|
|
|
|
<% end_if %>
|
2019-11-07 19:26:33 +01:00
|
|
|
|
|
|
|
<% if $SlideLinkID %>
|
|
|
|
<% with $SlideLink %>
|
2020-05-24 09:04:07 +02:00
|
|
|
<a
|
|
|
|
href="$LinkURL" title="$Title.XML"
|
|
|
|
class="stretched-link"<% if $OpenInNewWindow %> target="_blank"<% end_if %>
|
|
|
|
>
|
2019-11-07 19:26:33 +01:00
|
|
|
<span class="sr-only">$Title</span>
|
|
|
|
</a>
|
|
|
|
<% end_with %>
|
2019-12-17 21:43:28 +01:00
|
|
|
<% else_if $SlideLinkURL %>
|
|
|
|
<a href="$SlideLinkURL" title="$Headline.XML" class="stretched-link">
|
|
|
|
<span class="sr-only">$Headline</span>
|
|
|
|
</a>
|
2019-11-07 19:26:33 +01:00
|
|
|
<% end_if %>
|
2019-12-17 21:43:28 +01:00
|
|
|
|
2019-10-20 03:00:05 +02:00
|
|
|
<% end_if %>
|
|
|
|
<% end_if %>
|
|
|
|
|
2019-11-07 19:26:33 +01:00
|
|
|
<% if $Content || $Headline || $Description || $SlideLinkID %>
|
2021-02-26 05:28:19 +01:00
|
|
|
<div class="container">
|
|
|
|
<div class="carousel-caption">
|
2019-12-17 21:43:28 +01:00
|
|
|
<div class="carousel-caption-container typography">
|
2019-11-07 19:26:33 +01:00
|
|
|
<% if $Headline %><h2 class="carousel-title">$Headline</h2><% end_if %>
|
2019-10-20 03:00:05 +02:00
|
|
|
|
2019-11-07 19:26:33 +01:00
|
|
|
<% if $Content %>
|
|
|
|
<div class="carousel-content">$Content</div>
|
|
|
|
<% else_if $Description %>
|
|
|
|
<p class="carousel-content">$Description</p>
|
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
<% if $SlideLinkID %>
|
|
|
|
<% with $SlideLink %>
|
|
|
|
<div class="text-right">
|
2020-05-24 09:04:07 +02:00
|
|
|
<a
|
|
|
|
href="$LinkURL" title="$Title.XML" class="slide-link"
|
|
|
|
<% if $OpenInNewWindow %> target="_blank"<% end_if %>
|
|
|
|
>
|
2019-11-07 19:26:33 +01:00
|
|
|
$Title »
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<% end_with %>
|
|
|
|
<% end_if %>
|
|
|
|
</div>
|
2019-10-20 03:00:05 +02:00
|
|
|
</div>
|
2021-02-26 05:28:19 +01:00
|
|
|
</div>
|
2019-11-07 19:26:33 +01:00
|
|
|
<% end_if %>
|