]> git.gir.st - subscriptionfeed.git/blob - app/youtube/templates/xmlfeed.html.j2
harmonize layout; headerbar macro
[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 <article>
11 <h1>{{ title }}</h1>
12 {% for row in rows %}{#
13 #}{% call macros.card(row.video_id, row.title, row.published|format_date) %}
14 {{ macros.infobar_subscriptions(row.video_id, row.channel_id, row.author) }}
15 {% endcall %}{#
16 #}{% if row.pinned and not rows[loop.index].pinned %}
17 <hr>
18 {% endif %}{#
19 #}{% endfor %}
20 </article>
21
22 {% if not rows|length %}no more results{% endif %}
23
24 <a href="TODO">older</a>
25
26 <hr><a href="/r/videos">/r/videos</a> | <a href="/r/mealtimevideos">/r/mealtimevideos</a> | <a href="/r/Documentaries">/r/documentaries</a> | <a href="/r/curiousvideos">/r/curiousvideos</a>
Imprint / Impressum