do not lazy load the feature image

This commit is contained in:
stereobooster
2023-11-26 14:38:27 +01:00
parent 6eb34e7124
commit 0c6c30fec1
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
{{ $lazy := .lazy }}
{{ $webp := .webp }}
{{ $lqip := .lqip }}
{{ $x2 := .x2 | default false }}
{{ $x2 := .x2 }}
{{ with $img }}
{{ if (eq .MediaType.SubType "svg") }}
+1 -1
View File
@@ -1,7 +1,7 @@
{{ $img := .img }}
{{ $alt := .alt }}
{{ $class := .class }}
{{ $lazy := $.Page.Site.Params.enableImageLazyLoading | default true }}
{{ $lazy := .lazy | default $.Page.Site.Params.enableImageLazyLoading | default true }}
{{ $webp := $.Page.Site.Params.enableImageWebp | default true }}
{{ $lqip := false }}
{{ $x2 := .x2 }}