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

17 lines
464 B
Twig
Raw Normal View History

2016-07-31 19:36:13 +00:00
{% extends 'master.twig' %}
2016-12-12 22:22:09 +00:00
{% from 'macros.twig' import news_post %}
2016-07-31 01:32:37 +00:00
{% set title = post.title %}
{% set commentsCategory = 'news-' ~ post.category ~ '-' ~ post.id %}
{% set comments = post.comments %}
{% block content %}
2016-11-09 18:32:23 +00:00
<div class="content news">
<div class="content__header">{{ post.title }}</div>
2016-12-12 22:22:09 +00:00
{{ news_post(post.id, post.text, post.created, post.userData) }}
2016-11-09 18:32:23 +00:00
{% include 'elements/comments.twig' %}
</div>
{% endblock %}