Fix image rendering bug caused by last few fixes

This commit is contained in:
Joshua Goins 2022-12-20 18:02:29 -05:00
parent e231372032
commit fb9d23906c

View file

@ -3,7 +3,7 @@
{{- if and (not $img) .Page.File -}} {{- if and (not $img) .Page.File -}}
{{ with .Page.File }} {{ with .Page.File }}
{{ $path := path.Join .Dir .Destination }} {{ $path := path.Join .Dir $url }}
{{- $img = resources.Get $path -}} {{- $img = resources.Get $path -}}
{{ end }} {{ end }}
{{- end -}} {{- end -}}