<%- ucid = channel.ucid author = HTML.escape(channel.author) channel_profile_pic = URI.parse(channel.author_thumbnail).request_target relative_url = "/channel/#{ucid}/community" youtube_url = "https://www.youtube.com#{relative_url}" redirect_url = Invidious::Frontend::Misc.redirect_url(env) selected_tab = Invidious::Frontend::ChannelPage::TabsAvailable::Community -%> <% content_for "header" do %> <%= author %> - Invidious <% end %> <%= rendered "components/channel_info" %>

<% if error_message %>

<%= error_message %>

<% elsif items.not_nil!["comments"].as_a.empty? %>
<%= translate(locale, "channel_has_no_posts") %>
<% else %>
<%= IV::Frontend::Comments.template_youtube(items.not_nil!, locale, thin_mode) %>
<% end %>