Skip to content

Commit

Permalink
Added content container element
Browse files Browse the repository at this point in the history
  • Loading branch information
guywillis committed Oct 12, 2023
1 parent f964de6 commit d2273c8
Showing 1 changed file with 30 additions and 26 deletions.
56 changes: 30 additions & 26 deletions templates/boxMenu.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -12,39 +12,43 @@
</div>
{{/if}}

{{#if displayTitle}}
<div class="menu__title boxmenu__title">
<div class="menu__title-inner boxmenu__title-inner js-heading"></div>
</div>
{{/if}}
<div class="menu__header-content">

{{#if subtitle}}
<div class="menu__subtitle boxmenu__subtitle">
<div class="menu__subtitle-inner boxmenu__subtitle-inner">
{{{compile subtitle}}}
{{#if displayTitle}}
<div class="menu__title boxmenu__title">
<div class="menu__title-inner boxmenu__title-inner js-heading"></div>
</div>
</div>
{{/if}}
{{/if}}

{{#any body pageBody}}
<div class="menu__body boxmenu__body">
<div class="menu__body-inner boxmenu__body-inner">
{{#if pageBody}}
{{{compile pageBody}}}
{{else}}
{{{compile body}}}
{{/if}}
{{#if subtitle}}
<div class="menu__subtitle boxmenu__subtitle">
<div class="menu__subtitle-inner boxmenu__subtitle-inner">
{{{compile subtitle}}}
</div>
</div>
</div>
{{/any}}
{{/if}}

{{#any body pageBody}}
<div class="menu__body boxmenu__body">
<div class="menu__body-inner boxmenu__body-inner">
{{#if pageBody}}
{{{compile pageBody}}}
{{else}}
{{{compile body}}}
{{/if}}
</div>
</div>
{{/any}}

{{#if instruction}}
<div class="menu__instruction boxmenu__instruction">
<div class="menu__instruction-inner boxmenu__instruction-inner">
{{{compile instruction}}}
{{#if instruction}}
<div class="menu__instruction boxmenu__instruction">
<div class="menu__instruction-inner boxmenu__instruction-inner">
{{{compile instruction}}}
</div>
</div>
{{/if}}

</div>
{{/if}}

</div>
</div>
Expand Down

0 comments on commit d2273c8

Please sign in to comment.