@@ -6,15 +6,6 @@ module.exports = {
66 siteUrl : `https://rehnert.co` ,
77 } ,
88 plugins : [
9- `@stackbit/gatsby-plugin-menus` ,
10- `gatsby-plugin-advanced-sitemap` ,
11- `gatsby-plugin-react-helmet` ,
12- `gatsby-plugin-sass` ,
13- `gatsby-plugin-sharp` ,
14- `gatsby-remark-images` ,
15- `gatsby-source-data` ,
16- `gatsby-source-filesystem` ,
17- `gatsby-transformer-remark` ,
189 {
1910 resolve : `gatsby-transformer-remark` ,
2011 options : {
@@ -35,15 +26,31 @@ module.exports = {
3526 resolve : `gatsby-source-filesystem` ,
3627 options : {
3728 name : `pages` ,
38- path : `${ __dirname } /src/pages` ,
29+ path : `${ __dirname } /src/pages/ ` ,
3930 } ,
4031 } ,
32+ {
33+ resolve : `gatsby-source-filesystem` ,
34+ options : {
35+ name : `data` ,
36+ path : `${ __dirname } /src/data/` ,
37+ ignore : [ `**/\.*` ] , // ignore files starting with a dot
38+ } ,
39+ } ,
40+ {
41+ resolve : `gatsby-plugin-react-helmet` ,
42+ options : { } ,
43+ } ,
4144 {
4245 resolve : `gatsby-plugin-sass` ,
4346 options : { } ,
4447 } ,
4548 {
46- resolve : `gatsby-remark-page-creator` ,
49+ resolve : `gatsby-plugin-sharp` ,
50+ options : { } ,
51+ } ,
52+ {
53+ resolve : `gatsby-plugin-advanced-sitemap` ,
4754 options : { } ,
4855 } ,
4956 {
@@ -55,3 +62,16 @@ module.exports = {
5562 } ,
5663 ] ,
5764}
65+
66+ // In your gatsby-config.js
67+ module . exports = {
68+ plugins : [
69+ // You can have multiple instances of this plugin
70+ // to read source nodes from different locations on your
71+ // filesystem.
72+ //
73+ // The following sets up the Jekyll pattern of having a
74+ // "pages" directory for Markdown files and a "data" directory
75+ // for `.json`, `.yaml`, `.csv`.
76+ ] ,
77+ }
0 commit comments