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 f4301bf commit d4d0dd8Copy full SHA for d4d0dd8
layouts/_default/_markup/render-image.html
@@ -23,7 +23,7 @@
23
<picture>
24
{{- range $imageType := $imageTypes -}}
25
<source type="image/{{ $imageType }}" srcset="
26
- {{- $compressedImage := printf "%s_1080x.%s" $src.RelPermalink $imageType -}}
+ {{- $compressedImage := printf "%s_1080x.%s" $Destination $imageType -}}
27
{{- $cmSrc := .Page.Resources.GetMatch $compressedImage -}}
28
{{- if $cmSrc -}}
29
{{ $cmSrc.RelPermalink | absURL}} 1080w
0 commit comments