🔀 Merge pull request #730 from stereobooster/fix-bug-in-picture

fix bug in picture with params
This commit is contained in:
James Panther
2024-01-21 14:31:01 +11:00
committed by GitHub
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 }}