aboutsummaryrefslogtreecommitdiff
path: root/app/layout
diff options
context:
space:
mode:
authorGravatar upskaling <upskaling@users.noreply.github.com> 2020-05-10 20:12:13 +0000
committerGravatar GitHub <noreply@github.com> 2020-05-10 22:12:13 +0200
commitbd8f6f19b60f478c8b1ac1f480f3894829ee9ba9 (patch)
tree6576e67ccc1e374f94f4286ae8922ce549aa407d /app/layout
parentaea38065901408c8b6d0bb0b619f21fd81fc9347 (diff)
add lazy loading on favicon (#2962)
Diffstat (limited to 'app/layout')
-rw-r--r--app/layout/aside_feed.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml
index 499844a2b..191413184 100644
--- a/app/layout/aside_feed.phtml
+++ b/app/layout/aside_feed.phtml
@@ -94,7 +94,7 @@
<a class="dropdown-toggle" data-fweb="<?= $feed->website() ?>"><?= _i('configure') ?></a>
<?php /* feed_config_template */ ?>
</div>
- <?php if (FreshRSS_Context::$user_conf->show_favicons): ?><img class="favicon" src="<?= $feed->favicon() ?>" alt="✇" /><?php endif; ?>
+ <?php if (FreshRSS_Context::$user_conf->show_favicons): ?><img class="favicon" src="<?= $feed->favicon() ?>" alt="✇" loading="lazy" /><?php endif; ?>
<a class="item-title" data-unread="<?= format_number($feed->nbNotRead()) ?>" href="<?= _url('index', $actual_view, 'get', 'f_' . $feed->id()) ?>"><?= $feed->name() ?></a>
</li>
<?php } ?>