mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Update introduction.md
This commit is contained in:
committed by
GitHub
parent
a39a532d50
commit
d9876bd68e
@@ -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.:
|
||||
|
||||
Reference in New Issue
Block a user