{set $array = ["18","20"]} {if ($_modx->resource.parent in list $array)} {$_modx->resource.longtitle} — techobsled.ru {elseif $_modx->resource.id == 1} {$_modx->resource.pagetitle} — techobsled.ru {elseif $_modx->resource.id == 9} Блог {$_modx->getChunk('companyname')} {elseif $_modx->resource.parent == 9} {$_modx->resource.pagetitle} — Блог {$_modx->getChunk('companyname')} {elseif $_modx->resource.id == 22} Последние завершенные {$_modx->resource.pagetitle | lower} компании {$_modx->getChunk('companyname')} — {$_modx->config.site_name} {elseif $_modx->resource.parent == 22} {$_modx->resource.pagetitle}: {'!tolinks' | snippet : [ 'items' => '{$_modx->resource.id | resource: "articlestags"}', 'target' => '{$_modx->resource.id}', 'useTagsFurl' => '1', 'tpl' => 'nudetags']} {else} {$_modx->resource.pagetitle} — techobsled.ru {$_modx->getChunk('metatags-sections')} {/if} {$_modx->getChunk('header')} {if $_modx->resource.parent == 9} {$_modx->getChunk('articletemplateF')} {elseif $_modx->resource.id == 9} {$_modx->getChunk('articlecontainertemplateF')} {elseif $_modx->resource.parent == 22} {$_modx->getChunk('objecttemplateF')} {elseif $_modx->resource.id == 22} {$_modx->getChunk('objectcontainertemplateF')} {else} {$_modx->resource.content} {/if} {$_modx->getChunk('footer')}