Ghost/core/server
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
..
adapters ES6 migration: server/adapters/scheduling/utils.js (#9689) 2018-06-14 19:15:12 +02:00
api Added /oembed API endpoint 2018-06-12 16:18:01 +01:00
apps Dynamic Routing Beta: Better template support 2018-06-21 16:22:45 +02:00
config Replaced routeKeywords in config with hard coded keywords (#9561) 2018-04-17 10:36:05 +01:00
data Dynamic Routing Beta: collection name behaviour 2018-06-21 20:59:43 +02:00
helpers 🐛 Fixed preview url and Zapier on subdirectory (#9683) 2018-06-12 16:36:58 +01:00
lib Dynamic Routing: Added migration for routes.yaml file (#9692) 2018-06-22 20:28:01 +02:00
models Dynamic Routing: Added migration for routes.yaml file (#9692) 2018-06-22 20:28:01 +02:00
public 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
services Dynamic Routing: Added migration for routes.yaml file (#9692) 2018-06-22 20:28:01 +02:00
translations Added /oembed API endpoint 2018-06-12 16:18:01 +01:00
views Fixed error trying to render 404 for missing asset 2017-12-22 20:08:59 +00:00
web Added debug log in error handler 2018-06-14 00:36:19 +02:00
analytics-events.js Cleared out old unused events 2017-12-13 09:08:25 +00:00
filters.js Moved pipeline/sequence to lib/promise 2017-12-13 22:20:02 +01:00
ghost-server.js Consistent event names 2018-04-15 23:52:42 +02:00
index.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
overrides.js Added /oembed API endpoint 2018-06-12 16:18:01 +01:00
update-check.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00