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
commit 0332cc6f45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 }}