Files
gohugoio--hugo/docs/content/en/_common/ref-and-relref-error-handling.md
2026-07-13 11:58:46 +08:00

383 B

_comment
_comment
Do not remove front matter.

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.

{{< code-toggle file=hugo >}} refLinksErrorLevel = 'warning' refLinksNotFoundURL = '/some/other/url' {{< /code-toggle >}}