mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-07 20:08:54 +00:00
Add decoding async to images
This commit is contained in:
parent
d22bde5d70
commit
7a1a110c0b
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@
|
|||
<article class="heading">
|
||||
{% if image %}
|
||||
<span class="image featured">
|
||||
{{ image.cropZoom(1038,437).loading('lazy').html(title, title)|raw }}
|
||||
{{ image.cropZoom(1038,437).loading('lazy').attribute('decoding','async').html(title, title)|raw }}
|
||||
</span>
|
||||
{% endif %}
|
||||
<div class="title">
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
{% if image %}
|
||||
<span class="image featured">
|
||||
{{ image.cropZoom(1038,437).loading('lazy').html(title, title)|raw }}
|
||||
{{ image.cropZoom(1038,437).loading('lazy').attribute('decoding','async').html(title, title)|raw }}
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue