Remove lazy loading from post header image
Because it's above the fold, it creates a huge layout shift when it loads
This commit is contained in:
parent
27fc575c12
commit
b56dca5fe7
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
{{ .Scratch.Set "image" $unsplash_data.urls.regular }}
|
||||
{{ end }}
|
||||
|
||||
<img class="mb-3 header-image" src='{{ .Scratch.Get "image" }}' alt="" decoding="async" loading="lazy" referrerpolicy="no-referrer" />
|
||||
<img class="mb-3 header-image" src='{{ .Scratch.Get "image" }}' alt="" decoding="async" referrerpolicy="no-referrer" />
|
||||
{{ end }}
|
||||
|
||||
{{ partial "breadcrumbs/index.html" . }}
|
||||
|
|
Loading…
Reference in a new issue