hugo/resources/resource
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
..
dates.go Make Page an interface 2019-03-23 18:51:22 +01:00
params.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
resource_helpers.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
resources.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
resourcetypes.go resources: Add more details to .Err 2022-03-25 16:40:36 +01:00