<div id="homepage">
    {include file=$localizer->getPath("part/header.tpl")}

    {$Page->compile('[!:block|code=slider:id=slider]')}

    <div id="flash" class="{$Page->flash.class}">{$Page->flash.text}</div>

</div>