2018-12-20 21:32:09 +00:00
|
|
|
<% content_for "header" do %>
|
2019-02-08 16:34:32 +00:00
|
|
|
<meta name="description" content="<%= translate(locale, "An alternative front-end to YouTube") %>">
|
2019-05-02 01:03:39 +00:00
|
|
|
<title>
|
2019-10-21 00:42:18 +00:00
|
|
|
<% if env.get("preferences").as(Preferences).default_home != "Popular" %>
|
2019-05-02 01:03:39 +00:00
|
|
|
<%= translate(locale, "Popular") %> - Invidious
|
|
|
|
<% else %>
|
|
|
|
Invidious
|
|
|
|
<% end %>
|
|
|
|
</title>
|
2018-12-20 21:32:09 +00:00
|
|
|
<% end %>
|
|
|
|
|
2019-02-24 17:51:33 +00:00
|
|
|
<%= rendered "components/feed_menu" %>
|
2019-02-08 16:34:32 +00:00
|
|
|
|
2018-11-26 16:50:34 +00:00
|
|
|
<div class="pure-g">
|
2019-05-02 01:03:39 +00:00
|
|
|
<% popular_videos.each_slice(4) do |slice| %>
|
|
|
|
<% slice.each do |item| %>
|
|
|
|
<%= rendered "components/item" %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
2018-11-26 16:50:34 +00:00
|
|
|
</div>
|