silverstripe-elemental-basics/templates/Includes/SlideItem.ss
2022-03-18 12:02:50 +02:00

22 lines
628 B
Scheme
Executable File

<% include SlideItem_media %>
<% if $Content || $Headline || $CustomTitle || $Description %>
<div class="container">
<div class="carousel-caption">
<div class="carousel-caption-container typography">
<% 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 %>