This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/resources/views/yuuno/news/post.twig
2016-11-09 19:32:23 +01:00

18 lines
466 B
Twig

{% extends 'master.twig' %}
{% set title = post.title %}
{% set commentsCategory = 'news-' ~ post.category ~ '-' ~ post.id %}
{% set comments = post.comments %}
{% set newsHideTitle = true %}
{% set newsHideCommentCount = true %}
{% block content %}
<div class="content news">
<div class="content__header">{{ post.title }}</div>
{% include 'elements/newsPost.twig' %}
{% include 'elements/comments.twig' %}
</div>
{% endblock %}