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