From bcbc519bb914d36305e3f768bb261a5b17790036 Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Thu, 16 Mar 2023 18:41:30 +0100 Subject: [PATCH] resources.GetRemote: minor improvement (#2002) --- content/en/hugo-pipes/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/hugo-pipes/introduction.md b/content/en/hugo-pipes/introduction.md index e83741f74..5abf623a0 100755 --- a/content/en/hugo-pipes/introduction.md +++ b/content/en/hugo-pipes/introduction.md @@ -105,7 +105,7 @@ Note that if you do not handle `.Err` yourself, Hugo will fail the build the fir ### Remote Options -When fetching a remote `Resource`, `resources.GetRemote` takes an optional options map as the last argument, e.g.: +When fetching a remote `Resource`, `resources.GetRemote` takes an optional options map as the second argument, e.g.: ```go-html-template {{ $resource := resources.GetRemote "https://example.org/api" (dict "headers" (dict "Authorization" "Bearer abcd")) }}