hugo/resources
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
..
images
internal
jsconfig
page resources: Add more details to .Err 2022-03-25 16:40:36 +01:00
postpub
resource resources: Add more details to .Err 2022-03-25 16:40:36 +01:00
resource_factories resources: Add more details to .Err 2022-03-25 16:40:36 +01:00
resource_transformers
testdata
errorResource.go resources: Add more details to .Err 2022-03-25 16:40:36 +01:00
image.go
image_cache.go
image_extended_test.go
image_test.go
post_publish.go
resource.go resources: Add more details to .Err 2022-03-25 16:40:36 +01:00
resource_cache.go
resource_cache_test.go
resource_metadata.go
resource_metadata_test.go
resource_spec.go
resource_test.go
testhelpers_test.go
transform.go resources: Add more details to .Err 2022-03-25 16:40:36 +01:00
transform_test.go