homepage/gatsby-config.js

51 lines
1.0 KiB
JavaScript

/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
pathPrefix: '/ctdo',
plugins: [
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'pages',
path: `${__dirname}/src/webpages`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'blog',
path: `${__dirname}/blog`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/images`,
},
},
{
resolve: 'gatsby-plugin-mdx',
options: {
extensions: ['.mdx', '.md'],
gatsbyRemarkPlugins: [
{
resolve: 'gatsby-remark-images',
options: {
maxWidth: 1000,
// pathPrefix: '/ctdo',
},
},
],
},
},
'gatsby-plugin-sharp',
'gatsby-plugin-image',
'gatsby-plugin-react-helmet',
'gatsby-plugin-catch-links',
],
}