We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b53c78 commit a23f2fcCopy full SHA for a23f2fc
1 file changed
ContentBlocks/ContentElements/bootstrap-accordion/templates/partials/header.html
@@ -1,18 +1,12 @@
1
<f:if condition="{data.header_layout} !== 100">
2
-<f:if condition="{data.header} && {data.subheader}">
3
<header{f:if(condition: data.header_position, then: ' class="{data.header_position}"')}>
4
<f:render section="mainheader" arguments="{_all}"/>
+ <f:if condition="{data.subheader}">
5
<f:render section="subheader" arguments="{_all}"/>
6
+ </f:if>
7
</header>
8
</f:if>
9
-<f:if condition="{data.header} && !{data.subheader}">
10
-<header>
11
- <f:render section="mainheader" arguments="{_all}"/>
12
-</header>
13
-</f:if>
14
15
-
16
<f:section name="mainheader">
17
<f:switch expression="{data.header_layout}">
18
<f:case value="1">
0 commit comments