{"action":"created","issue":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/1895","repository_url":"https://api.github.com/repos/gatsbyjs/gatsby","labels_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/1895/labels{/name}","comments_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/1895/comments","events_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/1895/events","html_url":"https://github.com/gatsbyjs/gatsby/pull/1895","id":252419769,"number":1895,"title":"[WIP] Nested Templates (and wrapping JavaScript with templates)","user":{"login":"jbolda","id":2019387,"avatar_url":"https://avatars2.githubusercontent.com/u/2019387?v=4","gravatar_id":"","url":"https://api.github.com/users/jbolda","html_url":"https://github.com/jbolda","followers_url":"https://api.github.com/users/jbolda/followers","following_url":"https://api.github.com/users/jbolda/following{/other_user}","gists_url":"https://api.github.com/users/jbolda/gists{/gist_id}","starred_url":"https://api.github.com/users/jbolda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbolda/subscriptions","organizations_url":"https://api.github.com/users/jbolda/orgs","repos_url":"https://api.github.com/users/jbolda/repos","events_url":"https://api.github.com/users/jbolda/events{/privacy}","received_events_url":"https://api.github.com/users/jbolda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-08-23T21:18:49Z","updated_at":"2017-09-21T01:29:24Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/pulls/1895","html_url":"https://github.com/gatsbyjs/gatsby/pull/1895","diff_url":"https://github.com/gatsbyjs/gatsby/pull/1895.diff","patch_url":"https://github.com/gatsbyjs/gatsby/pull/1895.patch"},"body":"This is a PR based on Issue #1866. Effectively updating createPages to accept an array of templates (and a javascript Post type of page). I got as much done as I could, and I probably won't be able to work on it for a while. Hopefully someone else can pick up where I left off. The using-javascript-transforms should be updated to work on this PR. I have been using it to test.\r\n\r\nThe remaining TODO as I am aware:\r\n- [x] accept array for createPages component in develop\r\n- [x] fix the props (and specifically props.data from graphql) as it gets all munged between the templates\r\n- [x] `gatsby build`, ie have it run in production\r\n- [x] update old tests\r\n  - [ ] gatsby-transformer-documentationjs seems to [randomly fail](https://ci.appveyor.com/project/KyleAMathews/gatsby/build/1.0.2697)\r\n- [ ] add tests for the new situations\r\n- [ ] update using-javascript-transforms example templates to pull out blog post structure into overall component\r\n- [ ] update documentation"},"comment":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/comments/331025161","html_url":"https://github.com/gatsbyjs/gatsby/pull/1895#issuecomment-331025161","issue_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/1895","id":331025161,"user":{"login":"KyleAMathews","id":71047,"avatar_url":"https://avatars3.githubusercontent.com/u/71047?v=4","gravatar_id":"","url":"https://api.github.com/users/KyleAMathews","html_url":"https://github.com/KyleAMathews","followers_url":"https://api.github.com/users/KyleAMathews/followers","following_url":"https://api.github.com/users/KyleAMathews/following{/other_user}","gists_url":"https://api.github.com/users/KyleAMathews/gists{/gist_id}","starred_url":"https://api.github.com/users/KyleAMathews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KyleAMathews/subscriptions","organizations_url":"https://api.github.com/users/KyleAMathews/orgs","repos_url":"https://api.github.com/users/KyleAMathews/repos","events_url":"https://api.github.com/users/KyleAMathews/events{/privacy}","received_events_url":"https://api.github.com/users/KyleAMathews/received_events","type":"User","site_admin":false},"created_at":"2017-09-21T01:29:24Z","updated_at":"2017-09-21T01:29:24Z","author_association":"CONTRIBUTOR","body":"On train writing on my phone so happy to discuss at more length later :-)"}}
{"actor":{"display_login":"KyleAMathews"}}