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