File tree Expand file tree Collapse file tree
Resources/Private/Partials/ContentElements Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11< f:if condition ="{data.header_layout} !== 100 ">
2+
23< header {f:if(condition: data.header_position, then: ' class="{data.header_position} "')}>
34 < f:render section ="mainheader " arguments ="{_all} "/>
45 < f:if condition ="{data.subheader} ">
1011< f:section name ="mainheader ">
1112 < f:switch expression ="{data.header_layout} ">
1213 < f:case value ="1 ">
13- < h1 > {data.header}</ h1 >
14+ < h1 {f:if(condition: data.bootstrap_header_class, then: 'class=" {data.bootstrap_header_class} "')} > {data.header}</ h1 >
1415 </ f:case >
1516 < f:case value ="2 ">
16- < h2 > {data.header}</ h2 >
17+ < h2 {f:if(condition: data.bootstrap_header_class, then: 'class=" {data.bootstrap_header_class} "')} > {data.header}</ h2 >
1718 </ f:case >
1819 < f:case value ="3 ">
19- < h3 > {data.header}</ h3 >
20+ < h3 {f:if(condition: data.bootstrap_header_class, then: 'class=" {data.bootstrap_header_class} "')} > {data.header}</ h3 >
2021 </ f:case >
2122 < f:case value ="4 ">
22- < h4 > {data.header}</ h4 >
23+ < h4 {f:if(condition: data.bootstrap_header_class, then: 'class=" {data.bootstrap_header_class} "')} > {data.header}</ h4 >
2324 </ f:case >
2425 < f:case value ="5 ">
25- < h5 > {data.header}</ h5 >
26+ < h5 {f:if(condition: data.bootstrap_header_class, then: 'class=" {data.bootstrap_header_class} "')} > {data.header}</ h5 >
2627 </ f:case >
2728 < f:case value ="100 "> </ f:case >
2829 < f:defaultCase >
29- < h2 > {data.header}</ h2 >
30+ < h2 {f:if(condition: data.bootstrap_header_class, then: 'class=" {data.bootstrap_header_class} "')} > {data.header}</ h2 >
3031 </ f:defaultCase >
3132 </ f:switch >
3233</ f:section >
You can’t perform that action at this time.
0 commit comments