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 16:01:53 +01:00
{% extends '@yuuno/master.twig' %}
{% from '@yuuno/macros.twig' import news_post %}
2016-07-31 03:32:37 +02:00
{% set title = post.title %}
2016-12-21 20:55:17 +01:00
{% set commentsCategory = 'news-' ~ post.category.id ~ '-' ~ post.id %}
{% set comments = post.comments %}
{% block content %}
2016-11-09 19:32:23 +01:00
<div class="content news">
<div class="content__header">{{ post.title }}</div>
2016-12-21 20:55:17 +01: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 16:01:53 +01:00
{% include '@yuuno/elements/comments.twig' %}
</div>
{% endblock %}