mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-05-12 08:26:56 +02:00
Add Projects-Module
This commit is contained in:
parent
8757b1afb3
commit
688c63910c
13 changed files with 546 additions and 7 deletions
|
@ -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']
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue