From f4df3a06ad153e0157b722f7e9966dc10904e644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Mon, 22 Apr 2024 22:12:06 +0200 Subject: [PATCH] docs: fail on failure of resource lookup --- exampleSite/config/_default/params.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 448e15b47e..82770c4128 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -309,7 +309,7 @@ highlightWrap = true # for the unresolved path. If set to `warning` the same happens and an additional # warning is printed. If set to `error` an error message is printed and the build # is aborted. -include.errorlevel = "warning" +include.errorlevel = "error" #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Images @@ -323,7 +323,7 @@ include.errorlevel = "warning" # printed. If set to `error` an error message is printed and the build is # aborted. # Please note that this can not resolve files inside of your `static` directory. -image.errorlevel = "warning" +image.errorlevel = "error" # Image effects. # See the documentation for how you can even add your own arbitrary effects to @@ -353,7 +353,7 @@ imageEffects.shadow = false # aborted. # Please note that with Hugo < 0.123.0 + `uglyURLs=true` this can lead to false # negatives. -link.errorlevel = "warning" +link.errorlevel = "error" # How to open external links. # Default: "_blank"