mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 15:05:54 +00:00
FIX: Element Templates
This commit is contained in:
parent
5d13db9f58
commit
603ffaffd7
@ -1,22 +0,0 @@
|
||||
<div
|
||||
data-aos="fade-up"
|
||||
class="element__content<% if $BlockLink %> has-blockLink<% end_if %><% if $BlockIcon %> has-blockIcon<% end_if %><% if $Style %> $CssStyle<% end_if %>"
|
||||
>
|
||||
<% if $BlockIcon %>
|
||||
<i class="element__icon $BlockIcon"></i>
|
||||
<% end_if %>
|
||||
|
||||
<% if $ShowTitle %>
|
||||
<h2 class="element__title">$Title</h2>
|
||||
<% end_if %>
|
||||
|
||||
<div class="element__html typography">
|
||||
$HTML
|
||||
</div>
|
||||
|
||||
<% if $BlockLink %>
|
||||
<a href="$BlockLink.LinkURL" class="element__link btn btn-default stretched-link">
|
||||
$BlockLink.Title
|
||||
</a>
|
||||
<% end_if %>
|
||||
</div>
|
@ -6,10 +6,4 @@
|
||||
<div class="element__html typography">
|
||||
$HTML
|
||||
</div>
|
||||
|
||||
<% if $BlockLink %>
|
||||
<a href="$BlockLink.LinkURL" class="element__link btn btn-default stretched-link">
|
||||
$BlockLink.Title
|
||||
</a>
|
||||
<% end_if %>
|
||||
</div>
|
||||
|
@ -1,10 +1,10 @@
|
||||
<% if $ShowTitle || $Content %>
|
||||
<div class="slider-caption">
|
||||
<% if $ShowTitle %>
|
||||
<h2 class="element__title">$Title</h2>
|
||||
<% end_if %>
|
||||
<% if $Content %><div class="element__html typography">$Content</div><% end_if %>
|
||||
</div>
|
||||
<% if $ShowTitle %>
|
||||
<h2 class="element__title">$Title</h2>
|
||||
<% end_if %>
|
||||
<% if $Content %>
|
||||
<div class="element__html typography">$Content</div>
|
||||
<% end_if %>
|
||||
<% end_if %>
|
||||
|
||||
<% if $SlideShow %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user