Using the documentation I figured out how to create a custom 404 error page. That was easy. But I need more static error pages like 401 (unauthorised) and 403 (forbidden). I tried it the same way like I did it with the 404 error page and created a HTML file in the “layouts” directory, but it didn’t worked. Only the “404.html” file will be generated and copied to the “public” folder but nothing happened to the “401.html” and “403.html” files.
What can I do to generate these custom error pages?
Thanks a lot for any kind of help