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