{% extends 'master.twig' %}
{% from 'macros.twig' import news_post %}
{% set title = post.title %}
{% set commentsCategory = 'news-' ~ post.category ~ '-' ~ post.id %}
{% set comments = post.comments %}
{% block content %}
<div class="content news">
<div class="content__header">{{ post.title }}</div>
{{ news_post(post.id, post.text, post.created, post.userData) }}
{% include 'elements/comments.twig' %}
</div>
{% endblock %}