{layout='layouts/_html-wrapper'}
{!-- page vars (prefix p_) --}
{preload_replace:p_url_cat='category'}
{!-- embed for breadcrumb, needed to pass arguments (embeds aren't evil) --}
{layout:set name='breadcrumbs'}
{embed='common/_breadcrumb'
p_url='{layout:p_url}'
p_title='{layout:p_title}'
{if layout:entry_ch}entry_ch='{layout:entry_ch}'{/if}
{if layout:search}search='{layout:search}'{/if}
{if layout:cat_ch}cat_ch='{layout:cat_ch}'{/if}
}
{/layout:set}
{layout:set name='scripts'}
{layout:scripts}
{/layout:set}