<%- ucid = channel.ucid author = HTML.escape(channel.author) channel_profile_pic = URI.parse(channel.author_thumbnail).request_target relative_url = case selected_tab when .shorts? then "/channel/#{ucid}/shorts" when .streams? then "/channel/#{ucid}/streams" when .playlists? then "/channel/#{ucid}/playlists" when .channels? then "/channel/#{ucid}/channels" else "/channel/#{ucid}" end youtube_url = "https://www.youtube.com#{relative_url}" redirect_url = Invidious::Frontend::Misc.redirect_url(env) -%> <% content_for "header" do %> <%- if selected_tab.videos? -%> <%- end -%> <%= author %> - Invidious <% end %> <%= rendered "components/channel_info" %>

<% items.each do |item| %> <%= rendered "components/item" %> <% end %>
<% if next_continuation %> <%= translate(locale, "Next page") %> <% end %>