2019-12-05 06:46:19 -05:00
|
|
|
module.exports = {
|
2019-12-19 11:33:35 -05:00
|
|
|
siteName: 'Snipette',
|
2019-12-20 03:13:01 -05:00
|
|
|
siteUrl: 'https://beta.snipettemag.com',
|
2019-12-19 11:33:35 -05:00
|
|
|
siteDescription: 'Your weekly dose of perspective, understandibility and fun',
|
|
|
|
titleTemplate: `%s - Snipette`,
|
2019-12-05 06:46:19 -05:00
|
|
|
|
2019-12-19 11:31:35 -05:00
|
|
|
mediaUrlFrom: 'https://snipette-ghost.herokuapp.com/content/images/',
|
|
|
|
mediaUrlTo: 'https://media.snipettemag.com/',
|
|
|
|
|
2019-12-18 08:54:22 -05:00
|
|
|
templates: {
|
|
|
|
GhostPost: '/:slug',
|
2019-12-24 03:08:50 -05:00
|
|
|
GhostPage: '/:slug',
|
2019-12-18 08:54:22 -05:00
|
|
|
GhostTag: '/tag/:slug',
|
|
|
|
GhostAuthor: '/author/:slug'
|
|
|
|
},
|
|
|
|
|
2019-12-05 06:46:19 -05:00
|
|
|
plugins: [
|
|
|
|
{
|
|
|
|
use: '@gridsome/plugin-google-analytics',
|
|
|
|
options: {
|
|
|
|
id: 'UA-XXXXXXXXX-X'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2019-12-18 08:54:22 -05:00
|
|
|
use: '@gridsome/source-ghost',
|
2019-12-05 06:46:19 -05:00
|
|
|
options: {
|
2019-12-18 08:54:22 -05:00
|
|
|
baseUrl: process.env.GHOST_API_URL,
|
|
|
|
contentKey: process.env.GHOST_CONTENT_KEY,
|
|
|
|
routes: {
|
|
|
|
post: '/:slug',
|
|
|
|
page: '/:slug',
|
|
|
|
author: '/author/:slug'
|
2019-12-05 06:46:19 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|