Update introduction.md

This commit is contained in:
Bjørn Erik Pedersen 2021-12-10 23:29:23 +01:00 committed by GitHub
parent c4b388c202
commit c14ecf1ff9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" . }}