Fix image rendering bug caused by last few fixes
This commit is contained in:
parent
e231372032
commit
fb9d23906c
1 changed files with 1 additions and 1 deletions
|
@ -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 -}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue