mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-22 21:43:38 +00:00
Use more consistent variables for search.ecr
This commit is contained in:
parent
a9ef931856
commit
7a7b1382c0
@ -2,17 +2,17 @@
|
||||
<title><%= query.size > 30 ? query[0,30].rstrip(".") + "..." : query %> - Invidious</title>
|
||||
<% end %>
|
||||
|
||||
<% videos.each do |item| %>
|
||||
<p>
|
||||
<% videos.each do |video| %>
|
||||
<p style="padding:1em;">
|
||||
<div class="pure-g">
|
||||
<div class="pure-u-1 pure-u-md-1-5">
|
||||
<a class="link" href="<%= item["link"] %>">
|
||||
<img style="width:90%" alt="thumbnail" src="<%= item["thumbnail"] %>">
|
||||
<a class="link" href="<%= video["link"] %>">
|
||||
<img style="width:100%" alt="thumbnail" src="<%= video["thumbnail"] %>">
|
||||
</a>
|
||||
</div>
|
||||
<div class="pure-u-1 pure-u-md-4-5">
|
||||
<a style="display:block; width:100%; height:100%" class="link" href="<%= item["link"] %>">
|
||||
<%= item["title"] %>
|
||||
<a style="display:block; width:100%; height:100%" class="link" href="<%= video["link"] %>">
|
||||
<%= video["title"] %>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user