mtheoryx / roberttables-livestream

2 stars 1 forks source link

Move template files outside of src/pages directory #48

Closed lannonbr closed 5 years ago

lannonbr commented 5 years ago

All pages in src/pages automatically are generated with slugs based on their file path as by using the gatsby-plugin-page-creator internally. This may not be want to done with the template files that are used in gatsby-node.js

For instance, here's a generated page for the stream-notes-template: https://www.roberttables.com/stream-notes-template/

A way to fix this could be to move them into another folder (like src/templates/) and then change the resolve path in gatsby-node.

lannonbr commented 5 years ago

This was done in #56. Closing