Skip to content

Commit a23f2fc

Browse files
committed
[TASK] Optimize fluid structure
1 parent 8b53c78 commit a23f2fc

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

  • ContentBlocks/ContentElements/bootstrap-accordion/templates/partials

ContentBlocks/ContentElements/bootstrap-accordion/templates/partials/header.html

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
<f:if condition="{data.header_layout} !== 100">
2-
<f:if condition="{data.header} && {data.subheader}">
32
<header{f:if(condition: data.header_position, then: ' class="{data.header_position}"')}>
43
<f:render section="mainheader" arguments="{_all}"/>
4+
<f:if condition="{data.subheader}">
55
<f:render section="subheader" arguments="{_all}"/>
6+
</f:if>
67
</header>
78
</f:if>
89

9-
<f:if condition="{data.header} && !{data.subheader}">
10-
<header>
11-
<f:render section="mainheader" arguments="{_all}"/>
12-
</header>
13-
</f:if>
14-
</f:if>
15-
1610
<f:section name="mainheader">
1711
<f:switch expression="{data.header_layout}">
1812
<f:case value="1">

0 commit comments

Comments
 (0)