<{assign var=theme_name value=$xoTheme->folderName}> <{assign var=theme_name value=$xoTheme->folderName|cat:'/templates'}> <{$icms_module_header}>
<{if $xoBlocks.canvas_left and $xoBlocks.canvas_right}> <{assign var=columns_layout value='col-md-6'}> <{assign var=block_layout value='col-md-6'}> <{elseif $xoBlocks.canvas_left or $xoBlocks.canvas_right}> <{assign var=columns_layout value='col-md-9'}> <{assign var=block_layout value='col-md-6'}> <{else}> <{assign var=columns_layout value='col-md-12'}> <{assign var=block_layout value='col-md-6'}> <{/if}>
<{$icms_slogan}>
<{if $xoBlocks.slider}> <{include file="$theme_name/slider.html"}> <{/if}>
<{if $xoBlocks.canvas_left}>
<{foreach item=block from=$xoBlocks.canvas_left}>

#### <{$block.title}>

<{$block.content}>
<{/foreach}>
<{/if}>
<{if $xoBlocks.page_topcenter}> <{foreach item=block from=$xoBlocks.page_topcenter}>

## <{$block.title}>

<{$block.content}>
<{/foreach}> <{/if}> <{if $xoBlocks.page_topleft or $xoBlocks.page_topright}>
<{foreach item=block from=$xoBlocks.page_topleft}>

#### <{$block.title}>

<{$block.content}>
<{/foreach}> <{foreach item=block from=$xoBlocks.page_topright}>

#### <{$block.title}>

<{$block.content}>
<{/foreach}>
<{/if}> <{if $icms_contents}>
<{$icms_contents}>
<{/if}> <{if $xoBlocks.page_bottomcenter}> <{foreach item=block from=$xoBlocks.page_bottomcenter}>

## <{$block.title}>

<{$block.content}>
<{/foreach}> <{/if}> <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>
<{foreach item=block from=$xoBlocks.page_bottomleft}>

#### <{$block.title}>

<{$block.content}>
<{/foreach}> <{foreach item=block from=$xoBlocks.page_bottomright}>

#### <{$block.title}>

<{$block.content}>
<{/foreach}>
<{/if}>
<{if $xoBlocks.canvas_right or $xoBlocks.tabs or $xoBlocks.accordion or $xoBlocks.menu}>
<{if $xoBlocks.tabs}> <{include file="$theme_name/tabs.html"}> <{/if}> <{if $xoBlocks.accordion}> <{include file="$theme_name/accordion.html"}> <{/if}> <{if $xoBlocks.menu}> <{include file="$theme_name/menu.html"}> <{/if}>
<{foreach item=block from=$xoBlocks.canvas_right}>

#### <{$block.title}>

<{$block.content}>
<{/foreach}>
<{/if}>
<{if $xoBlocks.prefoot}>
<{foreach item=block from=$xoBlocks.prefoot}>

#### <{$block.title}>

<{$block.content}>
<{/foreach}>
<{/if}>