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

18 lines
578 B
Twig
Raw Normal View History

2017-03-23 15:01:53 +00:00
{% extends '@yuuno/master.twig' %}
{% from '@yuuno/macros.twig' import news_post %}
2016-07-31 01:32:37 +00:00
{% set title = post.title %}
2016-12-21 19:55:17 +00:00
{% set commentsCategory = 'news-' ~ post.category.id ~ '-' ~ 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-21 19:55:17 +00:00
{{ news_post(post) }}
<a href="{{ route('news.category', post.category.id) }}" class="input__button"><span class="fa fa-backward"></span> Back</a>
2017-03-23 15:01:53 +00:00
{% include '@yuuno/elements/comments.twig' %}
</div>
{% endblock %}