{% extends 'news/master.twig' %} {% from 'macros.twig' import container_title %} {% from '_layout/comments.twig' import comments_section %} {% set title = post.post_title ~ ' :: News' %} {% set canonical_url = '/news.php?p=' ~ post.post_id %} {% set manage_link = '/manage/news.php?v=post&p=' ~ post.post_id %} {% block content %}
{{ container_title(post.post_title) }}
{{ post.post_text|parse_text(constant('MSZ_PARSER_MARKDOWN'))|raw }}
{{ post.username }}
{% if post.post_updated|date('U') > post.post_created|date('U') %} {% endif %}
{% if comments is defined %}
{{ container_title('Comments') }} {{ comments_section(comments, comments_category, current_user|default(null), comments_perms) }}
{% endif %} {% endblock %}