
<div class="main-news">
	<div class="main-title-block">
		<div class="main-news-date">{{ news.dateStamp|date("d") }}<span>{{ news.dateStamp|date("m") }}</span></div>
		<div class="main-news-category">{{ category }}</div>
		{% if pluginIsActive('comments') %}<div class="main-news-coments">{comments-num}</div>{% endif %}
		<div class="main-news-author">Автор: {% if pluginIsActive('uprofile') %}<a href="{{ news.author.url }}">{% endif %}{{ news.author.name }}{% if pluginIsActive('uprofile') %}</a>{% endif %}</div>
		<div style="clear: both;"></div>
	</div>
	<h2><a href="{{ news.url.full }}">{{ news.title }}</a></h2>
	<div class="main-news-image">
		<a href="{{ news.url.full }}">
			{% if (news.embed.imgCount > 0) %}
				<img src="{{ news.embed.images[0] }}" alt="{{ news.title }}" />
			{% else %}
				<img src="{{ tpl_url }}/images/no_image.jpg" alt="{{ news.title }}" />
			{% endif %}
		</a>
	</div>
	<div class="main-news-content">
		{{ news.short|truncateHTML(300,'...')|striptags }}<div style="clear: both;"></div>
	</div>
	<div style="clear: both; height: 10px;"></div>
	<div class="main-news-line"></div>
	<div class="main-news-more">
		<a href="{{ news.url.full }}">Читать далее</a>
	</div>
</div>

