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.
2 parents a3a5c0d + 6945484 commit 38e1428Copy full SHA for 38e1428
layouts/shortcodes/img.html
@@ -10,7 +10,7 @@
10
{{ end -}}
11
12
{{ range $widths -}}
13
- {{ $srcUrl := (printf "%dx" . | $image.Resize).RelPermalink -}}
+ {{ $srcUrl := (printf "%dx" . | $image.Resize).Permalink -}}
14
{{ if eq $imgSrc "" -}}{{ $imgSrc = $srcUrl -}}{{ end -}}
15
{{ $imgSrcSet = $imgSrcSet | append (printf "%s %dw" $srcUrl .) -}}
16
0 commit comments