<% content_for "header" do %> <%= author %> - Invidious <% end %>

<%= author %>

<% if user %> <% if subscriptions.includes? ucid %>

"> Unsubscribe from <%= author %> <%= number_with_separator(sub_count) %>

<% else %>

"> Subscribe to <%= author %> <%= number_with_separator(sub_count) %>

<% end %> <% else %>

"> Login to subscribe to <%= author %>

<% end %>

View channel on YouTube

<% videos.each_slice(4) do |slice| %>
<% slice.each do |item| %> <%= rendered "components/item" %> <% end %>
<% end %>
<% if page >= 2 %> Previous page <% end %>
<% if count == 60 %> Next page <% end %>