aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html/feeds.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/feeds.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/feeds.html')
-rw-r--r--template/html/feeds.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/html/feeds.html b/template/html/feeds.html
index 0bad59a..e4a3231 100644
--- a/template/html/feeds.html
+++ b/template/html/feeds.html
@@ -28,7 +28,7 @@
<div class="item-header">
<span class="item-title">
{{ if .Icon }}
- <img src="{{ route "icon" "iconID" .Icon.IconID }}" width="16" height="16" alt="{{ .Title }}">
+ <img src="{{ route "icon" "iconID" .Icon.IconID }}" width="16" height="16" loading="lazy" alt="{{ .Title }}">
{{ end }}
{{ if .Disabled }} 🚫 {{ end }}
<a href="{{ route "feedEntries" "feedID" .ID }}">{{ .Title }}</a>