6
0
Fork 0

Undo: max-width niet nodig

This commit is contained in:
Michael Boelen 2023-06-19 11:00:29 +02:00
parent 9ea34e1fa1
commit e1fcbf1e56

View file

@ -23,7 +23,7 @@
{{- end }}
{{ $img := imageConfig (add "/static" (.image | safeURL)) }}
<img class="max-width" src="{{ .image | safeURL }}" alt="{{ .alt }}"{{ if not .above_the_fold }} loading="lazy"{{ end }} decoding="async" width="{{ $img.Width }}" height="{{ $img.Height }}">
<img src="{{ .image | safeURL }}" alt="{{ .alt }}"{{ if not .above_the_fold }} loading="lazy"{{ end }} decoding="async" width="{{ $img.Width }}" height="{{ $img.Height }}">
</picture>
{{ if .figcaption }}
<figcaption>