mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-05 14:43:01 +00:00
loading lazy for status images
This commit is contained in:
parent
df746e8482
commit
a4a97a6498
@ -135,7 +135,7 @@
|
||||
</a>
|
||||
{{else}}
|
||||
<a class="img-link" href="{{.URL}}" target="_blank" title="{{.Description}}">
|
||||
<img class="status-image" src="{{.PreviewURL}}" alt="status-image" height="240" />
|
||||
<img class="status-image" src="{{.PreviewURL}}" alt="status-image" height="240" loading="lazy" />
|
||||
{{if (and $.Ctx.MaskNSFW $s.Sensitive)}}
|
||||
<div class="status-nsfw-overlay"></div>
|
||||
{{end}}
|
||||
|
Loading…
Reference in New Issue
Block a user