mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 23:24:52 -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.
|
||||
|
||||
```htmlbars
|
||||
```go-html-template
|
||||
{{ with resources.Get "https://gohugo.io/images/gohugoio-card-1.png" }}
|
||||
{{ with .Err }}
|
||||
{{ warnf "%s" . }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user