Support for templates for all error codes

Even if there isn’t a built-in template for anything other than 404.html, it would be nice if Zola could pick up on user-defined error page templates without needing to create a markdown file.

What other errors are there for a static site?

1 Like

Good point.

I use the authentication module in nginx to limit access so a 401 can easily happen. Other errors can be introduced arbitrarily for any reason depending on the proxy so the option would be nice.

A lot of people use Zola + Cloudflare Pages, which have their “page functions” product. I think in general this trend of sites that are 99% static + 1% serverless will only continue. Other error codes could certainly become convenient.