mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-23 17:51:18 +00:00
9202117ba0
This commit adds a .Data object (a map with `Body`, `StatusCode` etc.) to the .Err returned from `resources.GetRemote`, which means you can now do: ``` {{ with .Err }} {{ range $k, $v := .Data }} {{ end }} {{ end }} ``` Fixes #9708 |
||
---|---|---|
.. | ||
create.go | ||
remote.go | ||
remote_test.go |