Move the files to their own location

This commit is contained in:
Corbin Crutchley
2020-05-07 09:49:21 -07:00
parent 589c47d392
commit 5cc3472961
7 changed files with 5 additions and 3 deletions

View File

@@ -74,9 +74,11 @@ exports.sourceNodes = async ({
exports.createPages = ({ graphql, actions }) => {
const { createPage } = actions;
const blogPost = path.resolve(`./src/templates/blog-post.tsx`);
const blogProfile = path.resolve(`./src/templates/blog-profile.tsx`);
const postList = path.resolve(`./src/templates/post-list.tsx`);
const blogPost = path.resolve(`./src/templates/blog-post/blog-post.tsx`);
const blogProfile = path.resolve(
`./src/templates/blog-profile/blog-profile.tsx`
);
const postList = path.resolve(`./src/templates/post-list/post-list.tsx`);
return graphql(
`
{