invidious-copy-2022-08-14/src/invidious/views/top.ecr

21 lines
538 B
Text
Raw Normal View History

2018-12-20 21:32:09 +00:00
<% content_for "header" do %>
<meta name="description" content="<%= translate(locale, "An alternative front-end to YouTube") %>">
2019-05-02 01:03:39 +00:00
<title>
<% if config.default_home != "Top" %>
<%= translate(locale, "Top") %> - 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" %>
2018-11-26 16:50:34 +00:00
<div class="pure-g">
2019-05-02 01:03:39 +00:00
<% top_videos.each_slice(4) do |slice| %>
<% slice.each do |item| %>
<%= rendered "components/item" %>
<% end %>
<% end %>
2018-11-26 16:50:34 +00:00
</div>