@@ -6,15 +6,6 @@ module.exports = {
6
6
siteUrl : `https://rehnert.co` ,
7
7
} ,
8
8
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` ,
18
9
{
19
10
resolve : `gatsby-transformer-remark` ,
20
11
options : {
@@ -35,15 +26,31 @@ module.exports = {
35
26
resolve : `gatsby-source-filesystem` ,
36
27
options : {
37
28
name : `pages` ,
38
- path : `${ __dirname } /src/pages` ,
29
+ path : `${ __dirname } /src/pages/ ` ,
39
30
} ,
40
31
} ,
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
+ } ,
41
44
{
42
45
resolve : `gatsby-plugin-sass` ,
43
46
options : { } ,
44
47
} ,
45
48
{
46
- resolve : `gatsby-remark-page-creator` ,
49
+ resolve : `gatsby-plugin-sharp` ,
50
+ options : { } ,
51
+ } ,
52
+ {
53
+ resolve : `gatsby-plugin-advanced-sitemap` ,
47
54
options : { } ,
48
55
} ,
49
56
{
@@ -55,3 +62,16 @@ module.exports = {
55
62
} ,
56
63
] ,
57
64
}
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