Learn how to configure Hugo Icons Module.
Become a backer or sponsor to support our work.
params.icons.throw_on_error
Name | Context | Type | Required | Default | Since | Example |
---|---|---|---|---|---|---|
params.icons.throw_on_error | - | boolean | - | true | - | - |
When true
, throw an error instead of a warnging if icon not found.
hugo.yaml
1params:
2 icons:
3 throw_on_error: true
hugo.toml
1[params]
2 [params.icons]
3 throw_on_error = true
hugo.json
1{
2 "params": {
3 "icons": {
4 "throw_on_error": true
5 }
6 }
7}