mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
23 lines
757 B
Text
23 lines
757 B
Text
<% content_for "header" do %>
|
|
<title><%= query.size > 30 ? query[0,30].rstrip(".") + "..." : query %> - Invidious</title>
|
|
<% end %>
|
|
|
|
<% videos.each_slice(4) do |slice| %>
|
|
<div class="pure-g">
|
|
<% slice.each do |video| %>
|
|
<div class="pure-u-1 pure-u-md-1-4">
|
|
<div class="h-box">
|
|
<a style="width:100%;" href="<%= video["link"] %>">
|
|
<img style="width:100%;" src="<%= video["thumbnail"] %>"/>
|
|
<%= video["title"] %>
|
|
</a>
|
|
<p><b><a style="width:100%;" href="<%= video["author_url"]%>"><%= video["author"] %></a></b></p>
|
|
</div>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|
|
|
|
<p style="text-align:right;">
|
|
<a href="/search?q=<%= query %>&page=<%= page + 1 %>">Next page</a>
|
|
</p>
|