Skip to content

Commit

Permalink
fix: routing for generated page with new urls
Browse files Browse the repository at this point in the history
  • Loading branch information
luhmann committed Feb 13, 2019
1 parent 95093d5 commit d004813
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]:luhmann/photography-portfolio.git
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion data
Submodule data updated from df15b3 to d99a68
2 changes: 1 addition & 1 deletion gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const mapGalleriesToPage = galleries =>
} = gallery;

return {
path,
path: `${path}/*`,
component: galleryTemplate,
context: { folderName },
};
Expand Down

0 comments on commit d004813

Please sign in to comment.