Add Projects-Module

This commit is contained in:
Kevin Kandlbinder 2020-12-21 21:23:52 +01:00
parent 8757b1afb3
commit 688c63910c
13 changed files with 546 additions and 7 deletions

View file

@ -6,6 +6,13 @@ module.exports = {
},
plugins: [
`gatsby-plugin-sharp`,
`gatsby-transformer-json`,
{
resolve: `gatsby-source-filesystem`,
options: {
path: `./content/`,
},
},
`gatsby-plugin-sass`,
{
resolve: `gatsby-plugin-manifest`,
@ -45,7 +52,14 @@ module.exports = {
},
keySeparator: false,
nsSeparator: false
}
},
pages: [
{
matchPath: '/:lang/projects/:urlname',
getLanguageFromPath: true,
excludeLanguages: ['en', 'de']
}
]
}
}
]