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

<%= playlist.title %>

<%= playlist.author %>

<%= playlist.description_html %>

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