Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layouts are not applied to templated pages #31

Closed
benbarber opened this issue May 31, 2018 · 1 comment
Closed

Layouts are not applied to templated pages #31

benbarber opened this issue May 31, 2018 · 1 comment

Comments

@benbarber
Copy link

benbarber commented May 31, 2018

When passing in a custom layout prop, it is not applied to any of the generated pages for pagination.

Here is my code:

createPaginatedPages({
  createPage: createPage,
  edges: result.data.allMarkdownRemark.edges,
  layout: 'Page',
  pageLength: 5
  pageTemplate: path.resolve("src/templates/posts.tsx")
});
@benbarber
Copy link
Author

Ok, I can see this is no longer an issue with the code thats on master. When can we expect a release that includes the layout option?

It would have been helpful if your releases were tagged in the repo as well.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant