{assign var=rightSideBar value=$BricksManager->getBricksByArea('rightSidebar', $Site)} {assign var=prefixContentBricks value=$BricksManager->getBricksByArea('prefixContentBricks', $Site)} {assign var=suffixContentBricks value=$BricksManager->getBricksByArea('suffixContentBricks', $Site)}
{if !empty( $prefixContentBricks )} {foreach from=$prefixContentBricks item=Brick}
{if $Brick->getAttribute('frontendTitle')}

## {$Brick->getAttribute('frontendTitle')}

{/if} {assign var=showTitle value=$Brick->setSetting('showTitle', false)} {$Brick->create()}
{/foreach} {/if}
{if !$showHeader} {if $showPageTitle}
{/if} {if $showPageShort}
{$Site->getAttribute('short')|nl2br}
{/if} {/if} {$Template->getBody()}
{if !empty( $suffixContentBricks )} {foreach from=$suffixContentBricks item=Brick}
{if $Brick->getAttribute('frontendTitle')}

## {$Brick->getAttribute('frontendTitle')}

{/if} {assign var=showTitle value=$Brick->setSetting('showTitle', false)} {$Brick->create()}
{/foreach} {/if}
{if !empty( $rightSideBar)} {foreach from=$rightSideBar item=Brick}
{if $Brick->getAttribute('frontendTitle') && $Brick->getType() != 'QUI\Bricks\Controls\Children\Listing' }

## {$Brick->getAttribute('frontendTitle')}

{/if} {if $Brick->getType() != 'QUI\Bricks\Controls\Children\Listing'} {assign var=showTitle value=$Brick->setSetting('showTitle', false)} {/if} {$Brick->create()}
{/foreach} {else} {/if}