Skip to content

Commit b4e32e1

Browse files
authored
fix
1 parent c3c5211 commit b4e32e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/shortcodes/figure.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
{{ $cmSrc.RelPermalink | absURL}} 1080w
3636
{{- else -}}
3737
// hugo not support avif format
38-
{{ if ne $imageType "avif" }}
38+
{{ if (ne $imageType "avif") }}
3939
{{- with $respSizes -}}
4040
{{- range $i, $e := . -}}
4141
{{- if $i }}, {{ end -}}{{- ($src.Resize (print . "x " $imageType $hint " " $filter) ).RelPermalink | absURL }} {{ . }}w

0 commit comments

Comments
 (0)