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 authored and GitHub committed 2024-02-15 17:52:41 +00:00
commit 0332cc6f45
1 file changed
+1 -1
+1 -1
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 }}