invidious-experimenting/src/invidious/views/popular.ecr

21 lines
582 B
Plaintext
Raw Normal View History

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