">
<%= yield_content "header" %>
<% if env.get("preferences").as(Preferences).dark_mode %>
<% else %>
<% end %> <% locale = LOCALES[env.get("preferences").as(Preferences).locale]? %>
Invidious
" value="<%= env.get?("search").try {|x| HTML.escape(x.as(String)) } || env.params.query["q"]?.try {|x| HTML.escape(x)} %>">
<% if env.get? "user" %>
" class="pure-menu-heading"> <% if env.get("preferences").as(Preferences).dark_mode %>
<% else %>
<% end %>
" href="/feed/subscriptions" class="pure-menu-heading"> <% notification_count = env.get("user").as(User).notifications.size %> <% if notification_count > 0 %> <%= notification_count %>
<% else %>
<% end %>
" href="/preferences?referer=<%= env.get?("current_page") %>" class="pure-menu-heading">
" method="post">
">
">
<% else %>
" class="pure-menu-heading"> <% if env.get("preferences").as(Preferences).dark_mode %>
<% else %>
<% end %>
" href="/preferences?referer=<%= env.get?("current_page") %>" class="pure-menu-heading">
<% if config.login_enabled %>
" class="pure-menu-heading"> <%= translate(locale, "Log in") %>
<% end %> <% end %>
<% if CONFIG.banner %>
<%= CONFIG.banner %>
<% end %>
<%= content %>