mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Use more consistent variables for search.ecr
This commit is contained in:
parent
a9ef931856
commit
7a7b1382c0
1 changed files with 6 additions and 6 deletions
|
@ -2,17 +2,17 @@
|
||||||
<title><%= query.size > 30 ? query[0,30].rstrip(".") + "..." : query %> - Invidious</title>
|
<title><%= query.size > 30 ? query[0,30].rstrip(".") + "..." : query %> - Invidious</title>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% videos.each do |item| %>
|
<% videos.each do |video| %>
|
||||||
<p>
|
<p style="padding:1em;">
|
||||||
<div class="pure-g">
|
<div class="pure-g">
|
||||||
<div class="pure-u-1 pure-u-md-1-5">
|
<div class="pure-u-1 pure-u-md-1-5">
|
||||||
<a class="link" href="<%= item["link"] %>">
|
<a class="link" href="<%= video["link"] %>">
|
||||||
<img style="width:90%" alt="thumbnail" src="<%= item["thumbnail"] %>">
|
<img style="width:100%" alt="thumbnail" src="<%= video["thumbnail"] %>">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="pure-u-1 pure-u-md-4-5">
|
<div class="pure-u-1 pure-u-md-4-5">
|
||||||
<a style="display:block; width:100%; height:100%" class="link" href="<%= item["link"] %>">
|
<a style="display:block; width:100%; height:100%" class="link" href="<%= video["link"] %>">
|
||||||
<%= item["title"] %>
|
<%= video["title"] %>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue