point-tools/templates/Web/Post/feed.html.twig

26 lines
691 B
Twig

{% extends 'Web/Post/base_feed.html.twig' %}
{% block header_title %}{{ 'Public feed' | trans }} @ Point Tools{% endblock %}
{% block content %}
{% if is_feed is defined %}
<div class="navigation">
{{ knp_pagination_render(posts) }}
</div>
{% endif %}
{% for post in posts %}
<div class="feed-post panel panel-default">
{% include 'Web/Post/post.html.twig' with {
'post': post,
'is_feed': is_feed
} %}
</div>
{% endfor %}
{% if is_feed is defined %}
<div class="navigation">
{{ knp_pagination_render(posts) }}
</div>
{% endif %}
{% endblock %}