From 53dcbddbd7e88b4227e021b71a1785dfe2a4ba5e Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sat, 28 Feb 2026 14:22:09 -0600 Subject: change image shortcode to look in local page resources instead of global resources --- layouts/shortcodes/img.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html index a57e1ed..caf9d75 100644 --- a/layouts/shortcodes/img.html +++ b/layouts/shortcodes/img.html @@ -1,6 +1,6 @@ -{{- $image := resources.GetMatch (.Get "src") -}} +{{- $image := .Page.Resources.Get (.Get "src") -}} {{- $alt := .Get "alt" | default "" -}} -- cgit v1.2.3