small fixes

This commit is contained in:
teldra 2022-06-17 10:28:20 +02:00
parent 076b8f82cb
commit 05094ce3fb

View File

@ -113,7 +113,7 @@
{{ $small := ($banner.Fill "1024x280 q90") }}
{{ $medium := ($banner.Fill "1280x280 q90") }}
{{ $large := ($banner.Fill "1366x280 q90") }}
<img srcset="{{- with $tiny.RelPermalink -}}{{.}} 480w{{- end -}}
<img loading="lazy" srcset="{{- with $tiny.RelPermalink -}}{{.}} 480w{{- end -}}
{{- with $small.RelPermalink -}}, {{.}} 768w{{- end -}}
{{- with $medium.RelPermalink -}}, {{.}} 1024w{{- end -}}
{{- with $large.RelPermalink -}}, {{.}} 1366w{{- end -}}"