2023-10-31 16:53:15 +00:00
|
|
|
{{ $img := .img }}
|
|
|
|
{{ $alt := .alt }}
|
|
|
|
{{ $class := .class }}
|
2023-11-26 13:38:27 +00:00
|
|
|
{{ $lazy := .lazy | default $.Page.Site.Params.enableImageLazyLoading | default true }}
|
2023-10-31 16:53:15 +00:00
|
|
|
{{ $webp := $.Page.Site.Params.enableImageWebp | default true }}
|
|
|
|
{{ $lqip := false }}
|
2023-11-26 01:23:34 +00:00
|
|
|
{{ $x2 := .x2 }}
|
|
|
|
{{ partial "picture.html" (dict "img" $img "alt" $alt "class" $class "lazy" $lazy "webp" $webp "lqip" $lqip "x2" $x2) }}
|