mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 16:34:39 -04:00
Update introduction.md
This commit is contained in:
parent
c4b388c202
commit
c14ecf1ff9
@ -33,7 +33,7 @@ In order to process an asset with Hugo Pipes, it must be retrieved as a `Resourc
|
|||||||
|
|
||||||
The return value from `resources.Get` includes an `.Err` method that will be set if the call failed. If you want to just log any error as a `WARNING` you can use a construct similar to the one below.
|
The return value from `resources.Get` includes an `.Err` method that will be set if the call failed. If you want to just log any error as a `WARNING` you can use a construct similar to the one below.
|
||||||
|
|
||||||
```htmlbars
|
```go-html-template
|
||||||
{{ with resources.Get "https://gohugo.io/images/gohugoio-card-1.png" }}
|
{{ with resources.Get "https://gohugo.io/images/gohugoio-card-1.png" }}
|
||||||
{{ with .Err }}
|
{{ with .Err }}
|
||||||
{{ warnf "%s" . }}
|
{{ warnf "%s" . }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user