FIX: Element Templates

This commit is contained in:
Tony Air 2021-06-08 20:30:06 +07:00
parent 5d13db9f58
commit 603ffaffd7
3 changed files with 6 additions and 34 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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 %>