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
6 lines
152 B
JavaScript
6 lines
152 B
JavaScript
const routing = require('../../services/routing');
|
|
|
|
module.exports = function siteRoutes(options = {}) {
|
|
return routing.bootstrap.init(options);
|
|
};
|