{% import "header.html" as header %} {{channel['name']}} {{header.make_header()}}
{% if channel is not none %} All (?q) {% else %} All (?q) {% endif %} {% for statename in all_states %} {% if channel is not none %} {{statename}} (?q) {% else %} {{statename}} (?q) {% endif %} {% endfor %}

Sort by Date, Duration, Views, Random
{{videos|length}} items
{% for video in videos %}
{{video['_published_str']}} - {{video['title']}} ({{video['duration'] | seconds_to_hms}}) ({{video['views']}}) {% if channel is none %} ({{video.get('author_name', 'Chan')}}) {% endif %}


{% endfor %}