Ghost/core/server/services/settings
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
..
cache.js Tests: Do not re-register model events in settings cache 2017-12-14 16:41:30 +01:00
default-routes.yaml Dynamic Routing: Added migration for routes.yaml file (#9692) 2018-06-22 20:28:01 +02:00
ensure-settings.js Dynamic Routing: Added migration for routes.yaml file (#9692) 2018-06-22 20:28:01 +02:00
index.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
loader.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
validate.js Dynamic Routing Beta: Better template support 2018-06-21 16:22:45 +02:00
yaml-parser.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00