]> git.gir.st - subscriptionfeed.git/blob - app/dangerous/templates/playlist.html.j2
add final / to /channel/ urls in templates
[subscriptionfeed.git] / app / dangerous / templates / playlist.html.j2
1 {% extends "base.html.j2" %}
2 {% import 'macros.imp.j2' as macros %}
3 {% block title %}{{ title | e }} — {{ author | e }}{% endblock %}
4
5 {% block content %}
6 <h1>{{ title | e }}<br>
7 <small><a href="/channel/{{ channel_id }}/">{{ author | e }}</a></small></h1>
8 <div class="cards">
9 {# TODO: copy pasted from dangerous/search.j2 #}
10 {% for card in rows %}
11 {{ macros.typed_card(card) }}
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 {% if page is not none %}
21 {{ macros.pagination("previous", {'page':(-1,1)}, -1) if page > 1 }}
22 {{ macros.pagination("next", {'page':(+1,1)}, +1) if has_more }}
23 {% endif %}
24 </div>
25 {% endblock %}
Imprint / Impressum