{% import "header.html" as header %} {{channel.name}} {{header.make_header()}}
{% if channel is not none %} All {% else %} All {% endif %} {% for statename in all_states %} {% if channel is not none %} {{statename}} {% else %} {{statename}} {% 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.author.name if video.author else video.author_id}}) {% endif %}
{% endfor %}