mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05: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 |
||
---|---|---|
.. | ||
dates.go | ||
params.go | ||
resource_helpers.go | ||
resources.go | ||
resourcetypes.go |