Merge pull request #238 from mikepianka/master
Fix issue where page bundle images fail to load
This commit is contained in:
commit
38e14287a9
|
@ -10,7 +10,7 @@
|
|||
{{ end -}}
|
||||
|
||||
{{ range $widths -}}
|
||||
{{ $srcUrl := (printf "%dx" . | $image.Resize).RelPermalink -}}
|
||||
{{ $srcUrl := (printf "%dx" . | $image.Resize).Permalink -}}
|
||||
{{ if eq $imgSrc "" -}}{{ $imgSrc = $srcUrl -}}{{ end -}}
|
||||
{{ $imgSrcSet = $imgSrcSet | append (printf "%s %dw" $srcUrl .) -}}
|
||||
{{ end -}}
|
||||
|
|
Loading…
Reference in New Issue