0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/views
Christopher Giffard 48b75fa396 Initial 404 Error Handling Support
Fixes #356

- Adds new generic methods for handling errors to errorHandling.js
- Initialises generic methods as middleware
- Created error.hbs view in admin
- Error handler searches for error.hbs view file in user theme folder
  and renders it if available, otherwise lets the error fall through
  to express.

- We *could* change the final behaviour to render a default ghost
  template should the user template be missing
- Because it currently isn't possible to require(ghost) in errorHandling.js,
  it was necessary to duplicate some aspects of the ghost path init code
  inside errorhandling.js. This should be cleaned up and moved back
  into ghost.js when possible.
2013-09-17 20:56:05 +10:00
..
partials Adds slashes to urls 2013-09-17 02:39:55 +01:00
content.hbs Adds slashes to urls 2013-09-17 02:39:55 +01:00
debug.hbs Fix debug tools layout 2013-09-16 18:53:09 +01:00
default.hbs Refactoring Ghost middleware 2013-09-17 01:49:08 +01:00
editor.hbs Removing i18n until it's done properly 2013-09-17 02:41:40 +01:00
error.hbs Initial 404 Error Handling Support 2013-09-17 20:56:05 +10:00
forgotten.hbs Improved Auth screen markup and validation checks 2013-09-12 09:59:58 +01:00
login.hbs Center login form with CSS instead of JS 2013-09-08 17:12:25 +02:00
settings.hbs Backbone template cleanup 2013-08-03 16:37:06 +01:00
signup.hbs Improved Auth screen markup and validation checks 2013-09-12 09:59:58 +01:00