{assign var=bricks value=$BricksManager->getBricksByArea('startpageContent', $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} {foreach from=$bricks item=Brick}
{if $Brick->getAttribute('frontendTitle')}

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

{/if} {assign var=showTitle value=$Brick->setSetting('showTitle', false)} {$Brick->create()}
{/foreach} {if $Template->getBody() && $Template->getBody() !== ''}
{$Template->getBody()}
{/if} {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}