We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3c5211 commit b4e32e1Copy full SHA for b4e32e1
layouts/shortcodes/figure.html
@@ -35,7 +35,7 @@
35
{{ $cmSrc.RelPermalink | absURL}} 1080w
36
{{- else -}}
37
// hugo not support avif format
38
- {{ if ne $imageType "avif" }}
+ {{ if (ne $imageType "avif") }}
39
{{- with $respSizes -}}
40
{{- range $i, $e := . -}}
41
{{- if $i }}, {{ end -}}{{- ($src.Resize (print . "x " $imageType $hint " " $filter) ).RelPermalink | absURL }} {{ . }}w
0 commit comments