Set layout screenshots to lazy loading
This commit is contained in:
parent
49fa8517be
commit
8480054f42
|
@ -12,7 +12,7 @@ eleventyNavigation:
|
||||||
{%- macro siteLayout(params) -%}
|
{%- macro siteLayout(params) -%}
|
||||||
## {{ params.title }}
|
## {{ params.title }}
|
||||||
{% for screenshot in params.screenshots %}
|
{% 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 %}
|
{% endfor %}
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue