Skip to content

Commit 16ce8ac

Browse files
authored
Update render-image.html
1 parent 4f80b36 commit 16ce8ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/_default/_markup/render-image.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<picture>
1717
{{- $imageTypes := slice $src.MediaType.SubType -}}
1818
{{- if and hugo.IsExtended (ne $src.MediaType.Type "image/webp") -}}
19-
{{- $imageTypes = append $imageTypes "webp" -}}
19+
{{- $imageTypes = $imageTypes | append "webp" -}}
2020
{{- end -}}
2121
{{- if gt (index $respSizes 0) $src.Width -}}
2222
{{- $respSizes = slice $src.Width -}}

0 commit comments

Comments
 (0)