{"action":"created","issue":{"url":"https://api.github.com/repos/iron-meteor/iron-router/issues/1125","labels_url":"https://api.github.com/repos/iron-meteor/iron-router/issues/1125/labels{/name}","comments_url":"https://api.github.com/repos/iron-meteor/iron-router/issues/1125/comments","events_url":"https://api.github.com/repos/iron-meteor/iron-router/issues/1125/events","html_url":"https://github.com/iron-meteor/iron-router/issues/1125","id":52034234,"number":1125,"title":"Idea: Nested Layouts","user":{"login":"nicolaslopezj","id":2042567,"avatar_url":"https://avatars.githubusercontent.com/u/2042567?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolaslopezj","html_url":"https://github.com/nicolaslopezj","followers_url":"https://api.github.com/users/nicolaslopezj/followers","following_url":"https://api.github.com/users/nicolaslopezj/following{/other_user}","gists_url":"https://api.github.com/users/nicolaslopezj/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaslopezj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaslopezj/subscriptions","organizations_url":"https://api.github.com/users/nicolaslopezj/orgs","repos_url":"https://api.github.com/users/nicolaslopezj/repos","events_url":"https://api.github.com/users/nicolaslopezj/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaslopezj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/iron-meteor/iron-router/labels/discussion","name":"discussion","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/iron-meteor/iron-router/milestones/8","html_url":"https://github.com/iron-meteor/iron-router/milestones/Q&A","labels_url":"https://api.github.com/repos/iron-meteor/iron-router/milestones/8/labels","id":841037,"number":8,"title":"Q&A","description":"Questions and answers. Hopefully most of this can be handled on Stack Overflow. But if it ends up on Github we'll put them here.","creator":{"login":"cmather","id":262179,"avatar_url":"https://avatars.githubusercontent.com/u/262179?v=3","gravatar_id":"","url":"https://api.github.com/users/cmather","html_url":"https://github.com/cmather","followers_url":"https://api.github.com/users/cmather/followers","following_url":"https://api.github.com/users/cmather/following{/other_user}","gists_url":"https://api.github.com/users/cmather/gists{/gist_id}","starred_url":"https://api.github.com/users/cmather/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmather/subscriptions","organizations_url":"https://api.github.com/users/cmather/orgs","repos_url":"https://api.github.com/users/cmather/repos","events_url":"https://api.github.com/users/cmather/events{/privacy}","received_events_url":"https://api.github.com/users/cmather/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":20,"state":"open","created_at":"2014-10-26T17:46:06Z","updated_at":"2014-12-16T07:10:13Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2014-12-15T20:26:43Z","updated_at":"2015-10-03T21:39:10Z","closed_at":null,"body":"It would be awesome to have the possibility to use nested layouts.\r\nFor example:\r\n```js\r\nthis.route('admin.dashboard', {\r\n    layoutTemplate: ['baseLayout', 'adminLayout'],\r\n    path: '/admin',\r\n})\r\n```\r\n```html\r\n<template name=\"baseLayout\">\r\n\t<div class=\"header\">header</div>\r\n\t{{> yield }}\r\n\t<div class=\"footer\">footer</div>\r\n</template>\r\n<template name=\"adminLayout\">\r\n\t<div class=\"admin-actionbar\">actions</div>\r\n\t{{> yield }}\r\n</template>\r\n<template name=\"adminDashboard\">\r\n\tthis is the dashboard\r\n</template>\r\n```\r\n\r\nAnd the result would be:\r\n```\r\nheader\r\nactions\r\nthis is the dashboard\r\nfooter\r\n```"},"comment":{"url":"https://api.github.com/repos/iron-meteor/iron-router/issues/comments/145292653","html_url":"https://github.com/iron-meteor/iron-router/issues/1125#issuecomment-145292653","issue_url":"https://api.github.com/repos/iron-meteor/iron-router/issues/1125","id":145292653,"user":{"login":"dotnetwise","id":485535,"avatar_url":"https://avatars.githubusercontent.com/u/485535?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnetwise","html_url":"https://github.com/dotnetwise","followers_url":"https://api.github.com/users/dotnetwise/followers","following_url":"https://api.github.com/users/dotnetwise/following{/other_user}","gists_url":"https://api.github.com/users/dotnetwise/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnetwise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnetwise/subscriptions","organizations_url":"https://api.github.com/users/dotnetwise/orgs","repos_url":"https://api.github.com/users/dotnetwise/repos","events_url":"https://api.github.com/users/dotnetwise/events{/privacy}","received_events_url":"https://api.github.com/users/dotnetwise/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T21:39:10Z","updated_at":"2015-10-03T21:39:10Z","body":"+1"}}