{extends 'template:Главная страница'} {block 'main'}
{insert 'tpl.breadcrumbs'}
{$_modx->resource.seoh1 ?: $_modx->resource.pagetitle}
{$_modx->resource.parent | resource : 'pagetitle'}
{$_modx->resource.publishedon | date : 'd'} {if 'cultureKey'| config == 'ru'}{'russianMonth' | snippet : [ 'input' => $_modx->resource.publishedon | date : 'm' ]}{else}{$_modx->resource.publishedon | date : 'F'}{/if}, {$_modx->resource.publishedon | date : 'Y'}
{insert 'tpl.constructor'} {if $_modx->resource.buttonForm and $_modx->resource.chooseForm}
{$_modx->resource.buttonForm}
{/if}
{insert 'tpl.authors'} {'!pdoResources' | snippet : [ 'parents' => $_modx->resource.parent | resource : 'parent', 'resources' => '-'~$_modx->resource.id, 'depth' => 1, 'sortby' => 'RAND()', 'limit' => 3, 'tpl' => 'tpl.news.item', 'includeContent' => 0, 'includeTVs' => 'img', 'processTVs' => 'img', 'tvPrefix' => '', 'tplWrapper' => '@INLINE
{$_modx->lexicon("marillion_similar_states")}
{$output}
', 'templates' => 5 ]}
{/block}