silverstripe-elemental-basics/templates/Includes/SlideItem.ss

22 lines
617 B
Scheme
Raw Normal View History

2021-06-19 20:13:41 +02:00
<% include SlideItem_media %>
2022-03-18 11:02:50 +01:00
<% if $Content || $Headline || $CustomTitle || $Description %>
2021-06-19 20:13:41 +02:00
<div class="container">
<div class="carousel-caption">
2024-01-25 14:08:48 +01:00
<div class="carousel-caption-container">
2021-06-19 20:13:41 +02:00
<% if $Headline %>
<h2 class="carousel-title">
$Headline
</h2>
<% end_if %>
<% if $Content %>
<div class="carousel-content">$Content</div>
<% else_if $Description %>
<p class="carousel-content">$Description</p>
<% end_if %>
</div>
</div>
</div>
<% end_if %>