0

I have a default brunch project, how do I add a 404 page to it?

I tried putting a 404.jade file in the same folder as index.jade but didn't work.

1 Answers1

0

It depends on your framework. There are programmatic solutions for Backbone, React, Ember, Angular. If you're just using brunch as a static site generator, there is no simple way to add 404 page. You'll need to adjust your web server like nginx or apache and add 404 page there -- see this question Nginx - Customizing 404 page

Community
  • 1
  • 1
Paul Miller
  • 1,960
  • 1
  • 13
  • 15