{% import "header.html" as header %} {{channel.name}} {% if theme %}{% endif %} {{header.make_header()}}
{% if channel is not none %}

{{channel.name}}

{% endif %} {% if channel is not none %}
{% endif %}
View {% if channel is not none %} All {% else %} All {% endif %} {% for statename in all_states %} {% if channel is not none %} {{statename.capitalize()}} {% else %} {{statename.capitalize()}} {% endif %} {% endfor %}
Sort by Date Duration Views Random
{{videos|length}} {{state or ""}} items
{% for video in videos %}
{{video.published_string}} - {{video.title}} ({{video.duration | seconds_to_hms}}) ({{video.views}}) {% if channel is none %} ({{video.author.name if video.author else video.author_id}}) (p) {% endif %}
{% if video.live_broadcast is none %} {% else %} {% endif %}
{% endfor %}
{% if channel is not none %}
Channel ID: {{channel.id}}
{% set checked = 'checked' if channel.autorefresh else '' %}
New videos are:
{% set checked = 'checked' if channel.ignore_shorts else '' %}
{% if request.is_localhost %} {% endif %}
Channel page
Channel RSS
{% endif %}