Skip to content

Commit

Permalink
Merge pull request #922 from UN-OCHA/RW-1095
Browse files Browse the repository at this point in the history
[RW-1095] Lazy load the images used in the country/disaster reources section
  • Loading branch information
orakili authored Oct 13, 2024
2 parents 43c892a + f5e2012 commit 1ca629e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<li class="rw-entity-useful-links__list__item">
<a href="{{ link.url }}" target="_blank" rel="noopener" class="rw-entity-useful-links__link">
{%- if link.logo is not empty -%}
<img src="{{ link.logo }}" alt="{{ link.title }}" class="rw-entity-useful-links__link__logo">
<img src="{{ link.logo }}" alt="{{ link.title }}" class="rw-entity-useful-links__link__logo" loading="lazy">
{%- else -%}
{{ link.title }}
{%- endif -%}
Expand Down

0 comments on commit 1ca629e

Please sign in to comment.