IMPR: don't show page header for elemental list

This commit is contained in:
Tony Air 2021-10-27 18:16:03 +02:00
parent 782b2edbfd
commit 516852c1f5

View File

@ -3,7 +3,7 @@
page-header-element
<% if $ElementalArea.Elements.Count < 1 %>
d-block no-elements
<% else_if not $ElementalArea.Elements.First.ShowTitle && $ElementalArea.Elements.First.ClassName != App\Elements\SliderElement %>
<% else_if not $ElementalArea.Elements.First.ShowTitle && $ElementalArea.Elements.First.ClassName != App\Elements\SliderElement && $ElementalArea.Elements.First.ClassName != DNADesign\ElementalList\Model\ElementList %>
d-block
<% end_if %>
">