{% extends 'layout.html.twig' %} {% block title %}{{ feed.title }}{% endblock %} {% block content %} {% set list_mode = app.user.config.listMode == 1 %}
{% if is_granted('ROLE_USER') %} {{ 'feeds.action.back_to_list'|trans }} {% endif %} {% if items is not empty and is_granted('EDIT_CONFIG') %} {% set switch_label = (list_mode ? 'feeds.action.show_card_view' : 'feeds.action.show_list_view')|trans %}
{% endif %}
{% if items is empty %}

{{ 'feeds.items_empty'|trans }}

{% else %}
    {% for item in items %}
  1. {% if item.image and app.user.config.displayThumbnails %} {% endif %}
    {{ item.title ?: item.url }} {% if item.publishedAt %} {% endif %}
    {% if is_granted('SAVE', item) %}
    {% endif %} {% if is_granted('DISMISS', item) %}
    {% endif %}
  2. {% endfor %}
{% endif %}
{% endblock %}