serve-handler icon indicating copy to clipboard operation
serve-handler copied to clipboard

Error templates in child folders

Open nunof07 opened this issue 4 years ago • 0 comments

I'm using the serve package and I'd like to serve different 404 templates depending on the folder:

  • en/asdasd should show en/404.html.
  • pt/asdasd should show pt/404.html.
  • asdasd should show /404.html.

Basically first check in the current folder, then start travelling up the tree.

Is this currently possible?

nunof07 avatar Jul 08 '20 11:07 nunof07