mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
patch missing screenshot thumbnails for followers
This commit is contained in:
parent
16673f0111
commit
72ac64802e
2 changed files with 1 additions and 1 deletions
BIN
public/img/50x50.png
Normal file
BIN
public/img/50x50.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 193 B |
|
@ -21,7 +21,7 @@
|
|||
<% else %>
|
||||
<% site.follows_dataset.select(:actioning_site_id).all.each do |follow| %>
|
||||
<% follow_actioning_site = follow.actioning_site_dataset.select(:username).first %>
|
||||
<a href="/site/<%= follow_actioning_site.username %>" title="<%= follow_actioning_site.title %>"><img src="<%= follow_actioning_site.screenshot_url 'index.html', '50x50' %>" class="avatar"></a>
|
||||
<a href="/site/<%= follow_actioning_site.username %>" title="<%= follow_actioning_site.title %>"><img src="<%= follow_actioning_site.screenshot_url 'index.html', '50x50' %>" class="avatar" onerror="this.src='/img/50x50.png'"></a>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue