Merge pull request #5 from fractaslabs/master

added an missing ShowTitle <h2> element
This commit is contained in:
Robbie Averill 2018-01-12 11:48:03 +13:00 committed by GitHub
commit 42f5ed3393
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
<div class="listelement--container" data-listelement-count="$Elements.Elements.Count">
<% if $ShowTitle %>
<h2 class="list-element__title">$Title</h2>
<% end_if %>
<div class="list-element__container" data-listelement-count="$Elements.Elements.Count">
$Elements
</div>