File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 5
5
{{ $image1x := $image.Resize (printf "%dx" $width1x) }}
6
6
{{ $image1xWebp := $image.Resize (printf "%dx webp" $width1x) }}
7
7
{{ $class := .class | default "h-64 tablet:h-96 lg:h-full w-full object-cover lg:absolute" }}
8
+ {{ $loading := .loading | default "eager" }}
8
9
< picture >
9
10
< source
10
11
srcset ="{{ $imageWebp.RelPermalink }} "
20
21
class ="{{ $class }} "
21
22
src ="{{ $image1x.RelPermalink }} "
22
23
alt =""
24
+ loading ="{{ $loading }} "
23
25
width ="{{ $image1x.Width }} "
24
26
height ="{{ $image1x.Height }} ">
25
27
</ picture >
Original file line number Diff line number Diff line change 44
44
{{ block "header" . }}
45
45
{{ partial "layouts/header/header.html" . }}
46
46
{{ end }}
47
+ {{ block "subheader" . }}
48
+ {{ end }}
47
49
{{ block "hero" . }}
48
50
{{ end }}
49
51
< div class ="flex w-full xl:w-6xl h-full flex-auto mx-auto ">
You can’t perform that action at this time.
0 commit comments