mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-20 01:45:30 -04:00
do not lazy load the feature image
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
{{ $lazy := .lazy }}
|
||||
{{ $webp := .webp }}
|
||||
{{ $lqip := .lqip }}
|
||||
{{ $x2 := .x2 | default false }}
|
||||
{{ $x2 := .x2 }}
|
||||
|
||||
{{ with $img }}
|
||||
{{ if (eq .MediaType.SubType "svg") }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user