% content_for "header" do %>
<%= author %> - Invidious
<% end %>
<% sub_count_text = number_to_short_text(sub_count) %>
<%= rendered "components/subscribe_widget" %>
<% if !auto_generated %>
<%= translate(locale, "Playlists") %>
<% end %>
<% {"last", "oldest", "newest"}.each do |sort| %>
<% end %>
<% items.each_slice(4) do |slice| %>
<% slice.each do |item| %>
<%= rendered "components/item" %>
<% end %>
<% end %>