homepage/gatsby-config.js

51 lines
1.0 KiB
JavaScript
Raw Normal View History

2019-12-11 19:02:42 +00:00
/**
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = {
pathPrefix: '/ctdo',
2019-12-12 21:27:56 +00:00
plugins: [
{
resolve: 'gatsby-source-filesystem',
2019-12-12 21:27:56 +00:00
options: {
name: 'pages',
2020-07-29 01:12:36 +00:00
path: `${__dirname}/src/webpages`,
2019-12-12 21:27:56 +00:00
},
},
2020-02-18 23:00:11 +00:00
{
resolve: 'gatsby-source-filesystem',
2020-02-18 23:00:11 +00:00
options: {
name: 'blog',
2020-02-18 23:00:11 +00:00
path: `${__dirname}/blog`,
},
},
2019-12-12 23:03:04 +00:00
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/images`,
},
},
{
resolve: 'gatsby-plugin-mdx',
2019-12-12 23:03:04 +00:00
options: {
extensions: ['.mdx', '.md'],
gatsbyRemarkPlugins: [
{
resolve: 'gatsby-remark-images',
options: {
maxWidth: 1000,
pathPrefix: '/ctdo',
},
},
],
2019-12-12 23:03:04 +00:00
},
},
'gatsby-plugin-sharp',
'gatsby-plugin-image',
'gatsby-plugin-react-helmet',
'gatsby-plugin-catch-links',
2019-12-12 21:27:56 +00:00
],
2019-12-11 19:02:42 +00:00
}