Set layout screenshots to lazy loading
This commit is contained in:
parent
0318c0cd86
commit
70c191410a
@ -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…
x
Reference in New Issue
Block a user