]> git.gir.st - subscriptionfeed.git/blob - app/youtube/templates/xmlfeed.html.j2
load initial channel page ourselves
[subscriptionfeed.git] / app / youtube / templates / xmlfeed.html.j2
1 <!DOCTYPE html>
2 <title>{{ title }}</title>
3 <link rel="shortcut icon" href='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300" fill="%23fff"><circle r="150" cx="150" cy="150" fill="%23f00"/><path d="m120 97v106l93-53"/></svg>'>
4 <link rel="stylesheet" href="/static/style.css">
5
6 {% import 'macros.imp.j2' as macros with context %}
7
8 {{ macros.headerbar() }}
9
10 {% include 'messages.inc.j2' %}
11
12 <article>
13 <h1>{{ title }}</h1>
14 {% for row in rows %}{#
15 #}{% call macros.card(row.video_id, row.title, row.published|format_date) %}
16 {{ macros.infobar_subscriptions(row.video_id, row.channel_id, row.author) }}
17 {% endcall %}{#
18 #}{% if row.pinned and not rows[loop.index].pinned %}
19 <hr>
20 {% endif %}{#
21 #}{% endfor %}
22 </article>
23
24 {% if not rows|length %}no more results{% endif %}
25
26 {% if 'list' in request.args %}
27 <a href="?list={{ request.args.get('list') }}&amp;page=1">more</a>
28 {% else %}
29 <a href="?page=1">more</a>
30 {% endif %}
Imprint / Impressum