hugo/resources/resource_factories
Bjørn Erik Pedersen 9202117ba0 resources: Add more details to .Err
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
2022-03-25 16:40:36 +01:00
..
bundler all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
create resources: Add more details to .Err 2022-03-25 16:40:36 +01:00