{include 'head'}
{include 'header'} {if $_modx->resource.id == '1'} {include 'mainSlider'}
{$_modx->resource.content}
{else}

{$_modx->resource.longtitle}

{$_modx->resource.content}
{/if} {include 'footer'}
{include 'scripts'}