% content_for "header" do %>
Subscriptions - Invidious
<% end %>
<%= notifications.size %> unseen notifications
<% if !notifications.empty? %>
<% end %>
<% notifications.each_slice(4) do |slice| %>
<% slice.each do |item| %>
<%= rendered "components/item" %>
<% end %>
<% end %>
<% videos.each_slice(4) do |slice| %>
<% slice.each do |item| %>
<%= rendered "components/item" %>
<% end %>
<% end %>
<% if (videos.size + notifications.size) == max_results %>
Next page
<% end %>