<%- ucid = channel.ucid author = HTML.escape(channel.author) channel_profile_pic = URI.parse(channel.author_thumbnail).request_target host = env.request.headers["Host"] 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" when .podcasts? then "/channel/#{ucid}/podcasts" when .releases? then "/channel/#{ucid}/releases" when .courses? then "/channel/#{ucid}/courses" else "/channel/#{ucid}" end youtube_url = "https://www.youtube.com#{relative_url}" redirect_url = Invidious::Frontend::Misc.redirect_url(env) page_nav_html = IV::Frontend::Pagination.nav_ctoken(locale, base_url: relative_url, ctoken: next_continuation, first_page: continuation.nil?, params: env.params.query, ) %> <% content_for "header" do %> <%- if selected_tab.videos? -%> <%- end -%> <%= author %> - Invidious <% end %> <%= rendered "components/channel_info" %>

<%= rendered "components/items_paginated" %>