From 214d65f076610991e0a0c29579b183c7cceebc32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Thu, 15 Feb 2024 17:51:06 +0000 Subject: [PATCH] Carousel doesn't work for local images --- layouts/shortcodes/carousel.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/carousel.html b/layouts/shortcodes/carousel.html index 016c792e..6d2a2a81 100644 --- a/layouts/shortcodes/carousel.html +++ b/layouts/shortcodes/carousel.html @@ -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 }}