21 lines
585 B
Scheme
Raw Normal View History

2020-08-14 05:36:26 +07:00
<div
2021-03-22 03:06:35 +07:00
class="element__content<% if $BlockLink %> has-blockLink<% end_if %><% if $BlockIcon %> has-blockIcon<% end_if %><% if $Style %> $CssStyle<% end_if %>"
2020-08-14 05:36:26 +07:00
>
<% if $BlockIcon %>
2021-03-22 03:06:35 +07:00
<i class="element__icon $BlockIcon"></i>
<% end_if %>
<% if $ShowTitle %>
2021-03-22 03:06:35 +07:00
<h2 class="element__title">$Title</h2>
<% end_if %>
2021-03-22 03:06:35 +07:00
<div class="element__html typography">
$HTML
</div>
<% if $BlockLink %>
2021-03-22 03:06:35 +07:00
<a href="$BlockLink.LinkURL" class="element__link btn btn-default stretched-link">
$BlockLink.Title
</a>
<% end_if %>
</div>