Skip to content

Commit

Permalink
refactor: changed lazyloading with fetchpriority
Browse files Browse the repository at this point in the history
  • Loading branch information
buggyzap authored Feb 5, 2024
1 parent 2262c67 commit 5f313f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/catalog/_partials/category-header.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="category-cover mb-4">
<img src="{$category.image.large.url}"
alt="{if !empty($category.image.legend)}{$category.image.legend}{else}{$category.name}{/if}"
loading="lazy"
fetchpriority="high"
class="img-fluid"
width="{$category.image.large.width}"
height="{$category.image.large.height}">
Expand Down

0 comments on commit 5f313f0

Please sign in to comment.