{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 !$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}