mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 08:18:30 +00:00
Update introduction.md
This commit is contained in:
1 parent
a39a532d50
commit
d9876bd68e
1 file changed
+2
@@ -43,6 +43,8 @@ The return value from `resources.Get` includes an `.Err` method that will be set
|
|||||||
{{ end }}
|
{{ 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
|
### Remote Options
|
||||||
|
|
||||||
When fetching a remote `Resource`, `resources.Get` takes an optional options map as the last argument, e.g.:
|
When fetching a remote `Resource`, `resources.Get` takes an optional options map as the last argument, e.g.:
|
||||||
|
|||||||
Reference in new issue
Block a user