Afbeeldingen 'above the fold' met normale prioriteit laden om layout-shift te voorkomen
This commit is contained in:
parent
1e4b8b5701
commit
e74c873b3b
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
{{ $personid := .id }}
|
||||
{{ if .thumbnail }}
|
||||
{{ $alttext := printf "Foto van %s" .name }}
|
||||
{{ partial "show-image.html" (dict "context" . "image" .thumbnail "alt" $alttext) }}
|
||||
{{ partial "show-image.html" (dict "context" . "image" .thumbnail "above_the_fold" true "alt" $alttext) }}
|
||||
{{ end }}
|
||||
{{ $text }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue