Update introduction.md

This commit is contained in:
Bjørn Erik Pedersen
2021-12-10 13:44:31 +01:00
committed by GitHub
parent a39a532d50
commit d9876bd68e
+2
View File
@@ -43,6 +43,8 @@ The return value from `resources.Get` includes an `.Err` method that will be set
{{ end }}
```
Note that if you do not handle `.Err` yourself, Hugo will fail the build the first time you start using the `Resource` object.
### Remote Options
When fetching a remote `Resource`, `resources.Get` takes an optional options map as the last argument, e.g.: