tried to lazy load home images, but a better solution is to have to home version one html the lightest possible for first laod, and one rich for vuejs display

This commit is contained in:
2021-04-07 11:50:47 +02:00
parent 47c5d69894
commit 6b263375f6
5 changed files with 92 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{#
/**
* @file
* Theme override for an image using a specific image style.
*
* Available variables:
* - attributes: HTML attributes for the image, including the following:
* - src: Full URL or relative path to the image file.
* - class: One or more classes to be applied to the image.
* - width: The width of the image (if known).
* - height: The height of the image (if known).
* - title: The title of the image.
* - alt: The alternative text for the image.
*
* @see template_preprocess_image_style()
*/
#}
{{ image }}