Undo: max-width niet nodig
This commit is contained in:
parent
9ea34e1fa1
commit
e1fcbf1e56
|
@ -23,7 +23,7 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ $img := imageConfig (add "/static" (.image | safeURL)) }}
|
{{ $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>
|
</picture>
|
||||||
{{ if .figcaption }}
|
{{ if .figcaption }}
|
||||||
<figcaption>
|
<figcaption>
|
||||||
|
|
Reference in a new issue