Modifying the return status of a page
loader
function, define the condition that determines whether
the status should be modified. If the condition is met, assign the desired
status to the response contained in the context.404 (Not Found)
if your search returns
no elements:
items
property does not exist or does not contain any
elements, the section will modify the return status of the entire page to 404
.