[TWIG]
<article class="full ignore-select">
	<div class="full-in">
		<div class="tile img-box">
			<img src="{% if (news.embed.imgCount > 0) %}{{ news.embed.images[0] }}{% else %}{{ tpl_url }}/images/no_image.jpg{% endif %}" alt="{{ news.title }}" />
			<div class="tile-o">
				<div class="meta icon-l">
					<span><span class="fa fa-calendar"></span>{{ news.dateStamp|date("d.m.Y") }}</span>
					<span><span class="fa fa-eye"></span>{{ news.views }}</span>
					{% if pluginIsActive('comments') %}<span><span class="fa fa-comments"></span>{{ comnum }}</span>{% endif %}
					<span>{% if pluginIsActive('uprofile') %}<a href="{{ news.author.url }}">{% endif %}{{ news.author.name }}{% if pluginIsActive('uprofile') %}</a>{% endif %}</span>
				</div>
				<h1 class="tile-t">{{ news.title }}</h1>
				<div class="tile-cat">{{ news.categories.text }}</div>
			</div>
		</div>
		<!--noindex-->
		<div class="s-btm fx-row fx-middle icon-l">
			{% if pluginIsActive('rating') %}
				<div class="s-rate">{{ plugin_rating }}</div>
			{% endif %}
			{% if (global.flags.isLogged) %}
				<div class="icon-l">
					{% if (news.flags.canEdit) %}<a href="{{ news.url.edit }}"><span class="fa fa-cog"></span></a>{% endif %}
					{% if pluginIsActive('bookmarks') %}{{ plugin_bookmarks_news }}{% endif %}
				</div>
			{% else %}
				<div class="icon-l fav-guest"><span class="fa fa-heart-o"></span>{{ lang.theme.news_fav }}</div>
			{% endif %}
		</div>
		<!--/noindex-->
		<div class="full-text video-box clearfix">
			{{ news.full }}
		</div>
		{% if pluginIsActive('tags') %}
			{% if (p.tags.flags.haveTags) %}
				<div class="full-taglist icon-l ignore-select">
					<span class="fa fa-tags"></span>
					{{ tags }}
				</div>
			{% endif %}
		{% endif %}
	</div>
	{% if pluginIsActive('comments') %}{{ plugin_comments }}{% endif %}
	<div class="rels">
		{{ callPlugin('xnews.show', {'extractEmbeddedItems' : true, 'order' : 'last', 'count': '6', 'template' : 'relatednews', 'cacheAge' : '180'}) }}
	</div>
</article>
[/TWIG]