<!DOCTYPE html>
<html lang="ru">
<head>
    <meta charset="utf-8">
    <meta name="keywords" content="[[*introtext]]">
    <meta name="description" content="[[*description]]">
    <title>[[++site_name]] - [[*longtitle:is=``:then=`[[*pagetitle]]`:else=`[[*longtitle]]`]]</title>
    <base href="[[++site_url]]">
    [[$_head]]
	<script type="text/javascript" src="[[++site_url]]tmpl/js/scripts.js"></script>
</head>
<body>
<header>[[++site_name]]</header>
<nav class="menu">
	<div>
        <a href="[[++site_url]]"></a>
		[[$_menu]]
    </div>
</nav>
<section>
	<div class="articles">
		[[!BreadCrumbs? &currentAsLink=`0` &homeCrumbTitle=`Главная` 
			&bcTplCrumbCurrent=`<span itemprop="title">[[+text]]</span>`
			&bcTplCrumbFirst=`<span itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">[[+text]]</span>` 
			&bcTplCrumbHome=`<a itemprop="url" href="[[~[[++site_start]]]]"><span itemprop="title">[[+text]]</span></a>` 
			&bcTplCrumbLast=`<span itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">[[+text]]</span>` 
			&bcTplCrumbMax=`<span itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">[[+text]]</span>`
			&bcTplCrumbLink=`<a itemprop="url" rel="[[+description]]" href="[[+resource]]"><span itemprop="title">[[+text]]</span></a>` 
			&bcTplCrumbOuter=`<nav class="breadcrumb">[[+text]]</nav>` 
			&bcTplCrumb=`<span itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">[[+text]]</span>`
		]]
		<ul>
			[[!getPage? &elementClass=`modSnippet` &element=`getResources` &sortby=`{"publishedon":"DESC"}` &tpl=`article` &limit=`5` &includeContent=`1` &includeTVs=`1` &parents=`[[*id]]` &pageLimit=`10` &pageNavOuterTpl=`<nav class="pagination">[[+prev]][[+pages]][[+next]]</nav>` &pageNavVar=`page.nav` &pageNavTpl=`<a href="[[+href]]" title="[[+pageNo]]">[[+pageNo]]</a>` &pageActiveTpl=`<strong>[[+pageNo]]</strong>` &pagePrevTpl=`<a href="[[+href]]">&larr;</a>` &pageNextTpl=`<a href="[[+href]]">&rarr;</a>`]]
    	</ul>
		[[!+page.nav]]
	</div>
</section>
<footer></footer>
</body>
</html>