Trying to create custom theme for ghost . What to name the error 404 pages? It is error.hbs or error-404.hbs or simply 404.hbs should do the job? And is there anywhere else to tell browser to display this error page if user search for a page that does not exist ?
1 Like
If you have error-404.hbs
, ghost will render that
If you don’t have one, but have an error.hbs
, ghost will render that
If you don’t have that, the default error page will be rendered
So, to answer your question, you can use error-404.hbs
That’s something you configure with your webserver or with Ghost, your browser only displays what it was given.
2 Likes