diff --git a/_includes/figure.liquid b/_includes/figure.liquid index 0cbff9101315..7c108541225d 100644 --- a/_includes/figure.liquid +++ b/_includes/figure.liquid @@ -65,7 +65,7 @@ {% endif %} {% if include.loading %} loading="{{ include.loading }}" - {% elsif site.lazy_loading_images.enable %} + {% elsif site.lazy_loading_images %} loading="lazy" {% endif %} onerror="this.onerror=null; $('.responsive-img-srcset').remove();"