{strip}
    {content assign='main_page_content'}
    {assign var='res_shell' value=false}
    {if isset($smarty.get.layout) && $smarty.get.layout == 'reslynx'}
        {assign var='res_shell' value=true}
    {elseif isset($smarty.get.cntnt01layout) && $smarty.get.cntnt01layout == 'reslynx'}
        {assign var='res_shell' value=true}
    {/if}
{/strip}

{if $res_shell}
    {extends file='cms_template:csm master reslynx'}
{else}
    {extends file='cms_template:csm master'}
{/if}

{block name='main_canvas'}
    {$main_page_content}
{/block}