<% ucid = channel.ucid %> <% author = HTML.escape(channel.author) %> <% content_for "header" do %> <%= author %> - Invidious <% end %> <% if channel.banner %>
">

<% end %>
<%= author %>

<%= channel.description_html %>

<% sub_count_text = number_to_short_text(channel.sub_count) %> <%= rendered "components/subscribe_widget" %>
<%= translate(locale, "View channel on YouTube") %> <% if !channel.auto_generated %>
<%= translate(locale, "Videos") %>
<% end %>
<% if channel.auto_generated %> <%= translate(locale, "Playlists") %> <% else %> <%= translate(locale, "Playlists") %> <% end %>
<% if channel.tabs.includes? "community" %> <%= translate(locale, "Community") %> <% end %>
<% sort_options.each do |sort| %>
<% if sort_by == sort %> <%= translate(locale, sort) %> <% else %> <%= translate(locale, sort) %> <% end %>
<% end %>

<% items.each do |item| %> <%= rendered "components/item" %> <% end %>
<% if page > 1 %> &sort_by=<%= URI.encode_www_form(sort_by) %><% end %>"> <%= translate(locale, "Previous page") %> <% end %>
<% if count == 60 %> &sort_by=<%= URI.encode_www_form(sort_by) %><% end %>"> <%= translate(locale, "Next page") %> <% end %>