mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
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
12 lines
138 B
YAML
12 lines
138 B
YAML
routes:
|
|
|
|
collections:
|
|
/:
|
|
permalink: /{slug}/
|
|
template:
|
|
- index
|
|
|
|
taxonomies:
|
|
tag: /tag/{slug}/
|
|
author: /author/{slug}/
|