fix bug in picture with params

This commit is contained in:
stereobooster
2023-11-29 14:51:44 +01:00
parent dbf421848f
commit f2af0198fa
5 changed files with 13 additions and 6 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
{{ $img := .img }}
{{ $alt := .alt }}
{{ $class := .class }}
{{ $lazy := .lazy | default $.Page.Site.Params.enableImageLazyLoading | default true }}
{{ $webp := .webp | default $.Page.Site.Params.enableImageWebp | default true }}
{{ $lazy := .lazy }}
{{ $webp := .webp }}
{{ $lqip := .lqip | default false }}
{{ $x2 := .x2 | default false }}