Merge pull request #1247 from nunocoracao/1245-carousel-doesnt-work-for-local-images

🐛 Carousel doesn't work for local images
This commit is contained in:
Nuno Coração
2024-02-15 17:52:41 +00:00
committed by GitHub

View File

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