diff --git a/README.md b/README.md index 3325887..f0805d2 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## Install -We use a submodule for our assets so clone with `--recursive` +We use a private submodule for our assets so clone with `--recursive` ```sh $ git clone --recursive git@github.com:luhmann/photography-portfolio.git @@ -67,6 +67,8 @@ $ yarn test ## Deploy +Before you deploy make sure to build the project and test it on a local http-server. What you see in `gatsby develop` is not necessarily how it works in what `gatsby build` generates. + Install gsutil and setup: ```bash diff --git a/data b/data index df15b37..d99a688 160000 --- a/data +++ b/data @@ -1 +1 @@ -Subproject commit df15b37bc02aa1c0bdf54061d0326207ae2d032d +Subproject commit d99a6880384e4df22f621799711a4add9cb395f4 diff --git a/gatsby-node.js b/gatsby-node.js index 86a6812..5b3a6a9 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -32,7 +32,7 @@ const mapGalleriesToPage = galleries => } = gallery; return { - path, + path: `${path}/*`, component: galleryTemplate, context: { folderName }, };