diff --git a/layouts/_partials/helpers/picture.html b/layouts/_partials/helpers/picture.html index 454dd705e..4dc16c002 100644 --- a/layouts/_partials/helpers/picture.html +++ b/layouts/_partials/helpers/picture.html @@ -5,6 +5,7 @@ {{ $image1x := $image.Resize (printf "%dx" $width1x) }} {{ $image1xWebp := $image.Resize (printf "%dx webp" $width1x) }} {{ $class := .class | default "h-64 tablet:h-96 lg:h-full w-full object-cover lg:absolute" }} +{{ $loading := .loading | default "eager" }} diff --git a/layouts/baseof.html b/layouts/baseof.html index 1f4952146..4c14a6b6d 100644 --- a/layouts/baseof.html +++ b/layouts/baseof.html @@ -44,6 +44,8 @@ {{ block "header" . }} {{ partial "layouts/header/header.html" . }} {{ end }} + {{ block "subheader" . }} + {{ end }} {{ block "hero" . }} {{ end }}