diff options
| author | Jieiku | 2023-08-15 21:10:25 -0700 |
|---|---|---|
| committer | Jieiku | 2023-08-15 21:10:25 -0700 |
| commit | 0983915e23793c28dd0bee149fd2ec05a7e96a94 (patch) | |
| tree | 0f7c8c7c97e33e4a0e4c1c2e1150f94fdc2ba022 /templates/shortcodes/image.html | |
| parent | 729f7cda12340aabce5d0faab8d306b5e0d59568 (diff) | |
| download | abridge-0983915e23793c28dd0bee149fd2ec05a7e96a94.tar.gz abridge-0983915e23793c28dd0bee149fd2ec05a7e96a94.tar.bz2 abridge-0983915e23793c28dd0bee149fd2ec05a7e96a94.zip | |
Lighthouse and YellowLabTools optimizations
Diffstat (limited to 'templates/shortcodes/image.html')
| -rw-r--r-- | templates/shortcodes/image.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shortcodes/image.html b/templates/shortcodes/image.html index 8452ce9..4f9d3de 100644 --- a/templates/shortcodes/image.html +++ b/templates/shortcodes/image.html @@ -3,5 +3,5 @@ {% set type = source | split(pat=".") | last -%} <source srcset="{{ config.base_url | safe}}{{ page.path | safe }}{{ source | safe }}" type="{{ 'img/' ~ type }}" /> {% endfor -%} - <img src="{{ fpath }}" alt="{{ falt | default(value='Image') }}"{% if fw %} width="{{fw}}"{% endif %}{% if fh %} height="{{fh}}"{% endif %} /> + <img src="{{ fpath }}" alt="{{ falt | default(value='Image') }}"{% if fw %} width="{{fw}}"{% endif %}{% if fh %} height="{{fh}}"{% endif %} loading="lazy" /> </picture> |
