mirror of
https://github.com/iv-org/invidious.git
synced 2025-11-23 09:55:29 +00:00
Add /feed/top and /feed/popular
This commit is contained in:
7
src/invidious/views/popular.ecr
Normal file
7
src/invidious/views/popular.ecr
Normal file
@@ -0,0 +1,7 @@
|
||||
<div class="pure-g">
|
||||
<% popular_videos.each_slice(4) do |slice| %>
|
||||
<% slice.each do |item| %>
|
||||
<%= rendered "components/item" %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
7
src/invidious/views/top.ecr
Normal file
7
src/invidious/views/top.ecr
Normal file
@@ -0,0 +1,7 @@
|
||||
<div class="pure-g">
|
||||
<% top_videos.each_slice(4) do |slice| %>
|
||||
<% slice.each do |item| %>
|
||||
<%= rendered "components/item" %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user