Set layout screenshots to lazy loading
This commit is contained in:
parent
49fa8517be
commit
8480054f42
|
@ -12,7 +12,7 @@ eleventyNavigation:
|
|||
{%- macro siteLayout(params) -%}
|
||||
## {{ params.title }}
|
||||
{% for screenshot in params.screenshots %}
|
||||
<img src="/assets/layouts/{{ screenshot.imgFile }}" alt="{{ screenshot.imgAlt }}">
|
||||
<img src="/assets/layouts/{{ screenshot.imgFile }}" alt="{{ screenshot.imgAlt }}" loading="lazy">
|
||||
{% endfor %}
|
||||
{%- endmacro -%}
|
||||
|
||||
|
|
Loading…
Reference in New Issue