% if env.get? "darktheme" %>
<% else %>
<% end %> <%= yield_content "header" %>
Invidious
">
<% if env.get? "authorized" %>
<% notifications = env.get("notifications").as(Int32) %> <% if notifications > 0 %>
<%= notifications %>
<% else %>
<% end %>
Sign out
<% else %>
Login
<% end %>
<%= content %>
<% if env.get? "darktheme" %>
Light theme
<% else %>
Dark theme
<% end %>
Released under AGPLv3 by
Omar Roth
- source available
here