From 7a35afd55bf13b241198e46d32eeaac1f641efdc Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 19 Jan 2025 12:38:35 -0800 Subject: [PATCH] Use remote resource content --- layouts/shortcodes/paige/request.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/paige/request.html b/layouts/shortcodes/paige/request.html index 250cb97a..52b3c539 100644 --- a/layouts/shortcodes/paige/request.html +++ b/layouts/shortcodes/paige/request.html @@ -9,7 +9,7 @@ {{- with .Err -}} {{- errorf "layouts/shortcodes/paige/request.html: cannot request remote resource %q: %v" $url . -}} {{- else with .Value -}} - {{- strings.TrimRight "\f\n\r\t\v " . -}} + {{- strings.TrimRight "\f\n\r\t\v " .Content -}} {{- else -}} {{- errorf "layouts/shortcodes/paige/request.html: remote resource %q not found" $url -}} {{- end -}}