Debian Codegraph @

docs/content/en/_common/ref-and-relref-error-handling.md

raw
1 ---
2 _comment: Do not remove front matter.
3 ---
4
5 By default, Hugo will throw an error and fail the build if it cannot resolve the path. You can change this to a warning in your project configuration, and specify a URL to return when the path cannot be resolved.
6
7 {{< code-toggle file=hugo >}}
8 refLinksErrorLevel = 'warning'
9 refLinksNotFoundURL = '/some/other/url'
10 {{< /code-toggle >}}