]> git.gir.st - subscriptionfeed.git/blob - app/youtube/templates/xmlfeed.html.j2
change pinned style
[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 {% endfor %}
13 {{ macros.dummycard() }}
14 </div>
15 </article>
16
17 {% if not rows|length %}no more results{% endif %}
18
19 <div class="pagination-container">
20 {{ macros.pagination("more", {'page':(+1,0)}, +1) }}
21 </div>
22 {% endblock %}
Imprint / Impressum