news-reader-php/templates/bucket/index.html.twig
Daniel Siepmann bed87f8a10
Improve layout
Don't have left sidebar.
Add small sidebar to the right of each entry to interact with each
entry.
2020-08-14 11:46:55 +02:00

21 lines
550 B
Twig

{% extends 'base.html.twig' %}
{% block body %}
{% for bucket in buckets %}
<article>
<h1><a href="{{ path('bucket', {slug: bucket.slug}) }}">Bucket: {{ bucket.name }}</a> <small>with {{ bucket.feeds | length }} feeds</small></h1>
<main>
<ul>
{% for feed in bucket.feeds %}
<li>{{ feed.name }}</li>
{% endfor %}
</ul>
</main>
<nav>
</nav>
</article>
{% endfor %}
{% endblock %}