% content_for "header" do %>
<%= channel.author %> - Invidious
<% end %>
<% if channel.banner %>
">
<% end %>
<%= channel.author %>
<%= XML.parse_html(channel.description_html).xpath_node(%q(.//pre)).try &.content %>
<% ucid = channel.ucid %>
<% author = channel.author %>
<% sub_count_text = channel.sub_count.format %>
<%= rendered "components/subscribe_widget" %>
<% if !channel.auto_generated %>
<%= translate(locale, "Playlists") %>
<% end %>
<% {"last", "oldest", "newest"}.each do |sort| %>
<% end %>
<% items.each_slice(4) do |slice| %>
<% slice.each do |item| %>
<%= rendered "components/item" %>
<% end %>
<% end %>