diff --git a/layouts/partials/paige/func-resource.html b/layouts/partials/paige/func-resource.html index 64948027..47263bd5 100644 --- a/layouts/partials/paige/func-resource.html +++ b/layouts/partials/paige/func-resource.html @@ -33,4 +33,8 @@ {{ end }} {{ end }} +{{ if not $result }} + {{ errorf "layouts/partials/paige/func-resource.html: cannot find resource %q" $url }} +{{ end }} + {{ return $result }}