mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
22 lines
644 B
Scheme
22 lines
644 B
Scheme
|
<% include SlideItem_media %>
|
||
|
|
||
|
<% if $Content || $Headline || $CustomTitle || $Description || $SlideLinkID %>
|
||
|
<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 %>
|