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

<%= author %>

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

Unsubscribe from <%= author %>

<% else %>

Subscribe to <%= author %>

<% end %> <% else %>

Login to subscribe to <%= author %>

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