resources.GetRemote: minor improvement (#2002)

This commit is contained in:
Andreas Deininger
2023-03-16 18:41:30 +01:00
committed by GitHub
parent d54185beff
commit bcbc519bb9
+1 -1
View File
@@ -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")) }}