{% extends "base.html" %} {% block page_title %}{{ channel_name + ' - Channel' }}{% endblock %} {% import "common_elements.html" as common_elements %} {% block style %} main{ display:grid; {% if current_tab == 'about' %} grid-template-rows: 0fr 0fr 1fr; grid-template-columns: 0fr 1fr; {% else %} grid-template-rows: repeat(5, 0fr); grid-template-columns: auto 1fr; {% endif %} } main .avatar{ grid-row:1; grid-column:1; height:200px; width:200px; } main .title{ grid-row:1; grid-column:2; } main .channel-tabs{ grid-row:2; grid-column: 1 / span 2; display:grid; grid-auto-flow: column; justify-content:start; background-color: #aaaaaa; padding: 3px; } #links-metadata{ display: grid; grid-auto-flow: column; grid-column-gap: 10px; grid-column: 1/span 2; justify-content: start; padding-top: 8px; padding-bottom: 8px; background-color: #bababa; margin-bottom: 10px; } #number-of-results{ font-weight:bold; } .item-grid{ grid-row:4; grid-column: 1 / span 2; } .item-list{ width:1000px; grid-column: 1 / span 2; } .page-button-row{ grid-column: 1 / span 2; } .tab{ padding: 5px 75px; } main .channel-info{ grid-row: 3; grid-column: 1 / span 3; } .description{ white-space: pre-wrap; min-width: 0; } {% endblock style %} {% block main %}

{{ channel_name }}

{% if current_tab == 'about' %}

Description

{{ common_elements.text_runs(description) }}
{% else %} {% if current_tab != 'about' %} {% if current_tab != 'playlists' %} {% endif %} {% endif %} {% endif %} {% endblock main %}