Ghost/core/server/apps/amp/index.js
Hannah Wolfe b5228f5c43 Rename blog -> site
- We're going to be moving towards this naming convention more
- Doing this now makes it easier to name other things
2017-10-26 18:09:56 +01:00

14 lines
385 B
JavaScript

var router = require('./lib/router'),
registerHelpers = require('./lib/helpers'),
config = require('../../config');
module.exports = {
activate: function activate(ghost) {
registerHelpers(ghost);
},
setupRoutes: function setupRoutes(siteRouter) {
siteRouter.use('*/' + config.get('routeKeywords').amp + '/', router);
}
};