Skip to content

Commit e56ea83

Browse files
committed
fix: Broken image rendering (e. g. Euskotren page)
1 parent 662f348 commit e56ea83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/partials/image.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
data-decorative="true"
5151
{{- end }}
5252
loading="{{ $loading }}"
53-
{{ with .fetchpriority }}fetchpriority="{{ . }}"{{ end }}
53+
{{- with .fetchpriority -}}fetchpriority="{{ . }}"{{- end -}}
5454
srcset="{{ delimit $srcset ", " }}"
5555
sizes="(max-width: 576px) calc(100vw - 3.2rem), (max-width: 768px) 540px, (max-width: 992px) 720px, (max-width: 1200px) 960px, (max-width: 1400px) 1140px, 1320px"
5656
style="{{ delimit $styles "; " | safeCSS }}"

0 commit comments

Comments
 (0)