8bb7088ba0
refs #9742 - removed usage of single permalink setting - with dynamic routing this configuration does no longer makes sense - because you can configure your permalinks in the routes.yaml - furthermore you can have multiple collections with multiple permalinks - removed @blog.permalinks - do not export permalink setting - do not import permalink setting - permalink setting UI will be removed soon - get rid of {globals.permalink} completely - remove yaml in-built migration - do not expose settings.permalinks via the private API - do not allow to edit this setting - keep phyiscal value in case a blog needs to rollback from v2 to v1 - sorted out when the routers should be created - ensure routes.yaml file doesn't get validated before Ghost is fully ready to start
22 lines
315 B
Markdown
22 lines
315 B
Markdown
# Content / Settings
|
|
|
|
### routes.yaml
|
|
|
|
<!-- TODO: make a better description here and link to the docs -->
|
|
|
|
This is how the default `routes.yaml` file looks like:
|
|
|
|
```yaml
|
|
routes:
|
|
|
|
collections:
|
|
/:
|
|
permalink: '/{slug}/'
|
|
template:
|
|
- index
|
|
|
|
taxonomies:
|
|
tag: /tag/{slug}/
|
|
author: /author/{slug}/
|
|
```
|