mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 10:18:40 +00:00
Update introduction.md
This commit is contained in:
1 parent
f7c4d220f8
commit
c7110a5971
1 file changed
+1
-1
@@ -31,7 +31,7 @@ In order to process an asset with Hugo Pipes, it must be retrieved as a `Resourc
|
|||||||
|
|
||||||
{{< new-in "0.90.1" >}}
|
{{< new-in "0.90.1" >}}
|
||||||
|
|
||||||
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 return an error 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.
|
||||||
|
|
||||||
```go-html-template
|
```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" }}
|
||||||
|
|||||||
Reference in new issue
Block a user