{% import 'macros.imp.j2' as macros with context %} {{ macros.headerbar() }} {% include 'messages.inc.j2' %}

{{ title }} {{ macros.emoji_button("subscribe", channel_id, is_subscribed) if channel_id }}

{% for row in rows %} {% call macros.card(row.video_id, row.title, row.published|format_date) %} {{ macros.infobar_subscriptions(row.video_id, row.channel_id, row.author) }} {% endcall %} {% if row.pinned and not rows[loop.index].pinned %}
{% endif %} {% endfor %}
{% if not rows|length %}no more results{% endif %} {% if 'list' in request.args %} more {% else %} more {% endif %}