5a61f99467
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
327 B
327 B
Content / Settings
routes.yaml
This is how the default routes.yaml
file looks like:
routes:
collections:
/:
permalink: '{globals.permalinks}'
template:
- index
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/