aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html/unread_entries.html
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2019-09-10 21:12:38 -0700
committerGravatar Frédéric Guillot <fred@miniflux.net>2019-09-10 21:22:19 -0700
commit8d8f78241d303381abf6879cc007ca9cbc2a12e2 (patch)
tree9c6b8028bd0ff04e2fc6b26992c6de61336b10be /template/html/unread_entries.html
parent937492f6f554d51d8cae62829b6229071cac994e (diff)
Add native lazy loading for images and iframes
This feature is available only in Chrome >= 76 for now. See https://web.dev/native-lazy-loading
Diffstat (limited to 'template/html/unread_entries.html')
-rw-r--r--template/html/unread_entries.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/html/unread_entries.html b/template/html/unread_entries.html
index 3ac37b6..b1c73b3 100644
--- a/template/html/unread_entries.html
+++ b/template/html/unread_entries.html
@@ -36,7 +36,7 @@
<div class="item-header">
<span class="item-title">
{{ if ne .Feed.Icon.IconID 0 }}
- <img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" alt="{{ .Feed.Title }}">
+ <img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" loading="lazy" alt="{{ .Feed.Title }}">
{{ end }}
<a href="{{ route "unreadEntry" "entryID" .ID }}">{{ .Title }}</a>
</span>