mirror of
https://codeberg.org/danielsiepmann/news-reader-php.git
synced 2024-11-22 04:06:09 +01:00
22 lines
590 B
Twig
22 lines
590 B
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}{{ bucket.name }} | {{ parent() }}{% endblock %}
|
|
|
|
{% block body %}
|
|
<header>
|
|
<h1>Bucket: {{ bucket.name }} <small>with {{ bucket.feeds | length }} feeds</small></h1>
|
|
</header>
|
|
|
|
{{ include('feed/entries.html.twig') }}
|
|
|
|
<aside>
|
|
<h1>Feeds in this bucket</h1>
|
|
<ul>
|
|
{% for feed in bucket.feeds %}
|
|
<li>
|
|
<a href="{{ path('feed', {slug: feed.slug}) }}">{{ feed.name }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</aside>
|
|
{% endblock %}
|