mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 16:10:54 +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 |
||
---|---|---|
.. | ||
dates.go | ||
params.go | ||
resource_helpers.go | ||
resources.go | ||
resourcetypes.go |