{% extends '@yuuno/master.twig' %}
{% from '@yuuno/macros.twig' import news_post %}
{% set title = post.title %}
{% set commentsCategory = 'news-' ~ post.category.id ~ '-' ~ post.id %}
{% set comments = post.comments %}
{% block content %}
<div class="content news">
<div class="content__header">{{ post.title }}</div>
{{ news_post(post) }}
<a href="{{ route('news.category', post.category.id) }}" class="input__button"><span class="fa fa-backward"></span> Back</a>
{% include '@yuuno/elements/comments.twig' %}
</div>
{% endblock %}