change file structure

This commit is contained in:
DJ 2018-11-14 16:37:31 -05:00
parent fb4e1289a7
commit b3d1464e43
5 changed files with 9 additions and 2 deletions

View file

@ -11,7 +11,14 @@ module.exports = {
resolve: `gatsby-source-filesystem`, resolve: `gatsby-source-filesystem`,
options: { options: {
path: `${__dirname}/src/pages`, path: `${__dirname}/src/pages`,
name: 'pages', name: 'content',
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/uploads`,
name: 'uploads',
}, },
}, },
{ {

View file

@ -18,4 +18,4 @@ Oh, and here's a great quote from this Wikipedia on
> salted duck eggs have a briny aroma, a gelatin-like egg white and a > salted duck eggs have a briny aroma, a gelatin-like egg white and a
> firm-textured, round yolk that is bright orange-red in color. > firm-textured, round yolk that is bright orange-red in color.
![Chinese Salty Egg](./salty_egg.jpg) ![Chinese Salty Egg](../uploads/salty_egg.jpg)

View file

Before

Width:  |  Height:  |  Size: 668 KiB

After

Width:  |  Height:  |  Size: 668 KiB

Before After
Before After