Ghost/core/server/lib
Katharina Irrgang 5a61f99467
Dynamic Routing: Added migration for routes.yaml file (#9692)
refs #9601

- the home.hbs behaviour for the index collection (`/`) is hardcoded in Ghost
- we would like to migrate all existing routes.yaml files
- we only replace the file if the contents of the routes.yaml file equals the old routes.yaml format (with home.hbs as template)
- updated README of settings folder
- if we don't remove the home.hbs template from the default routes.yaml file, home.hbs will be rendered for any page of the index collection
  - the backwards compatible behaviour was different
  - only render home.hbs for page 1
- remember: the default routes.yaml file reflects how Ghost was working without dynamic routing
2018-06-22 20:28:01 +02:00
..
common 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
fs 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
image 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
mobiledoc Koenig - Do not render image cards with no src on the front-end 2018-06-14 14:57:09 +01:00
promise Moved pipeline/sequence to lib/promise 2017-12-13 22:20:02 +01:00
security Dynamic Routing: Added migration for routes.yaml file (#9692) 2018-06-22 20:28:01 +02:00
social 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
constants.js Moved utils constants to lib/constants 2017-12-14 14:13:40 +01:00
ghost-version.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
request.js Removed bluebird promise wrap in request lib (#9343) 2018-01-02 12:18:56 +01:00