simpixelated / san-diego-downtown-mobility-plan

Advocacy for the San Diego Downtown Mobility Plan
http://simpixelated.github.io/san-diego-downtown-mobility-plan/
MIT License
0 stars 0 forks source link

remove nested folder structure for pages #20

Closed simpixelated closed 8 years ago

simpixelated commented 8 years ago

https://blog.scottnonnenberg.com/practical-gatsby-js/

Directory structure You probably started with the Gatsby Blog Starter Kit. It puts each entry in its own directory, but that’s not at all required. It would be equivalent to name each markdown file with the path you’d like.

But really, you probably don’t want your project directory structure dictated by the URLs you’d like to surface to the web. That’s where the path frontmatter property comes in. You can give a file whatever URL you want! The only real requirement is that it’s a file Gatsby understands under the pages directory.