mirror of
https://github.com/iv-org/invidious.git
synced 2026-05-09 00:48:03 +00:00
It encapsulates all related code from translation into it's own module. Required for the migration to the crystal stdlib logger: https://github.com/iv-org/invidious/pull/5426
21 lines
551 B
Plaintext
21 lines
551 B
Plaintext
<% content_for "header" do %>
|
|
<meta name="description" content="<%= I18n.translate(locale, "An alternative front-end to YouTube") %>">
|
|
<title>
|
|
<% if env.get("preferences").as(Preferences).default_home != "Popular" %>
|
|
<%= I18n.translate(locale, "Popular") %> - Invidious
|
|
<% else %>
|
|
Invidious
|
|
<% end %>
|
|
</title>
|
|
<% end %>
|
|
|
|
<%= rendered "components/feed_menu" %>
|
|
|
|
<div class="pure-g">
|
|
<% popular_videos.each do |item| %>
|
|
<%= rendered "components/item" %>
|
|
<% end %>
|
|
</div>
|
|
|
|
<script src="/js/watched_indicator.js"></script>
|