{% macro news_preview(post) %} {% from 'macros.twig' import container_title, avatar %}
{% if post.user.id is not null %} {% endif %} {{ post.category.name }}
Posted

{{ post.post.title }}

{{ post.post.firstParagraph|parse_text(2)|raw }}
{% endmacro %} {% macro news_post(post, category, user) %} {% from 'macros.twig' import avatar %}

{{ post.title }}

{{ post.body|parse_text(2)|raw }}
{% endmacro %}