Carousel doesn't work for local images

This commit is contained in:
Nuno Coração 2024-02-15 17:51:06 +00:00
parent 87893236dd
commit 214d65f076

View file

@ -12,7 +12,7 @@
{{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }} {{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }}
{{ $images = $images | append (resources.GetRemote .) }} {{ $images = $images | append (resources.GetRemote .) }}
{{ else }} {{ else }}
{{ $images = $images | append ($page.GetMatch .) }} {{ $images = $images | append ($page.Match .) }}
{{ end }} {{ end }}
{{ end }} {{ end }}