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

<%= playlist.title %>

<%= translate(locale, "View playlist on YouTube") %>

<%= playlist.description_html %>


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