silverstripe-webpack/app/templates/Includes/SlideItem.ss

28 lines
876 B
Scheme
Raw Normal View History

2021-03-21 21:06:35 +01:00
<% include SlideItem_media %>
2019-12-17 21:43:28 +01:00
2021-03-21 21:06:35 +01:00
<% if $Content || $Headline || $CustomTitle || $Description || $SlideLinkID %>
<div class="container">
<div class="carousel-caption">
2019-12-17 21:43:28 +01:00
<div class="carousel-caption-container typography">
2021-03-21 21:06:35 +01:00
<% if $Headline %>
<h2 class="carousel-title">
$Headline
</h2>
<% end_if %>
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 %>
2021-03-21 21:06:35 +01:00
<% include NavItem_link MenuTitle=$Title, Link=$LinkURL, LinkClass="slide-link" %>
2019-11-07 19:26:33 +01:00
<% end_with %>
<% end_if %>
</div>
</div>
</div>
2019-11-07 19:26:33 +01:00
<% end_if %>