<% content_for "header" do %> <%= playlist.title %> - Invidious <% end %>

<%= playlist.title %>

<%= playlist.author %>

<%= playlist.description %>

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