]> git.gir.st - subscriptionfeed.git/blob - app/youtube/templates/xmlfeed.html.j2
use new card.live property in typed_card
[subscriptionfeed.git] / app / youtube / templates / xmlfeed.html.j2
1 {% extends "base.html.j2" %}
2 {% import 'macros.imp.j2' as macros %}
3 {% block title %}{{ title | e }}{% endblock %}
4
5 {% block content %}
6 <h1>{{ title }} <small>{{ macros.emoji_button("subscribe", channel_id, is_subscribed) if channel_id }}</small></h1>
7 <div class="cards">
8 {% for row in rows %}
9 {% call macros.card(row.video_id, row.title, row.published|format_date) %}
10 {{ macros.infobar_subscriptions(row.video_id, row.channel_id, row.author) }}
11 {% endcall %}
12 {% if row.pinned and not rows[loop.index].pinned %}
13 {{ macros.dummycard() }}
14 <hr>
15 {% endif %}
16 {% endfor %}
17 {{ macros.dummycard() }}
18 </div>
19 </article>
20
21 {% if not rows|length %}no more results{% endif %}
22
23 <div class="pagination-container">
24 {{ macros.pagination("more", {'page':(+1,0)}, +1) }}
25 </div>
26 {% endblock %}
Imprint / Impressum