mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 13:09:00 +00:00
(explore) Add lazy loading and alt attributes to images
This commit is contained in:
parent
d786d79483
commit
6f72e6e0d3
@ -44,7 +44,7 @@
|
||||
<a href="/explore/${result.displayDomain()}" title="Show results similar to this website"><i class="fas fa-shuffle"></i></a>
|
||||
</div>
|
||||
<a href="${result.url().toString()}">
|
||||
<img class="p-2" width="800" height="600" src="/screenshot/${result.domainId()}">
|
||||
<img loading="lazy" class="p-2" width="800" height="600" src="/screenshot/${result.domainId()}" alt="Screenshot of ${result.displayDomain()}" />
|
||||
</a>
|
||||
</div>
|
||||
@endfor
|
||||
|
Loading…
Reference in New Issue
Block a user