{"action":"created","issue":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-jade/issues/63","labels_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jade/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jade/issues/63/comments","events_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jade/issues/63/events","html_url":"https://github.com/gruntjs/grunt-contrib-jade/issues/63","id":23655639,"number":63,"title":"Passing a layout to extend from to the rendered template","user":{"login":"thomasklein","id":95669,"avatar_url":"https://avatars.githubusercontent.com/u/95669?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasklein","html_url":"https://github.com/thomasklein","followers_url":"https://api.github.com/users/thomasklein/followers","following_url":"https://api.github.com/users/thomasklein/following{/other_user}","gists_url":"https://api.github.com/users/thomasklein/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasklein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasklein/subscriptions","organizations_url":"https://api.github.com/users/thomasklein/orgs","repos_url":"https://api.github.com/users/thomasklein/repos","events_url":"https://api.github.com/users/thomasklein/events{/privacy}","received_events_url":"https://api.github.com/users/thomasklein/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-jade/labels/needs%20PR","name":"needs PR","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2013-12-03T16:43:34Z","updated_at":"2015-03-27T19:14:36Z","closed_at":"2015-03-27T19:14:36Z","body":"Hi! I couldn't find it in the docs and wonder if its is possible to pass to the jade task a layout which all rendered templates extend from. So basically I want to remove the 'extend myLayout' part from my templates as in\r\n\r\n```\r\nextend myLayout\r\n\r\ntemplate content...\r\n```\r\nand pass 'myLayout' to the grunt jade task maybe as an option parameter or even more dynamic, as a variable to the data object.\r\n\r\nDo you see any possibility?"},"comment":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-jade/issues/comments/87061694","html_url":"https://github.com/gruntjs/grunt-contrib-jade/issues/63#issuecomment-87061694","issue_url":"https://api.github.com/repos/gruntjs/grunt-contrib-jade/issues/63","id":87061694,"user":{"login":"shinnn","id":1131567,"avatar_url":"https://avatars.githubusercontent.com/u/1131567?v=3","gravatar_id":"","url":"https://api.github.com/users/shinnn","html_url":"https://github.com/shinnn","followers_url":"https://api.github.com/users/shinnn/followers","following_url":"https://api.github.com/users/shinnn/following{/other_user}","gists_url":"https://api.github.com/users/shinnn/gists{/gist_id}","starred_url":"https://api.github.com/users/shinnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinnn/subscriptions","organizations_url":"https://api.github.com/users/shinnn/orgs","repos_url":"https://api.github.com/users/shinnn/repos","events_url":"https://api.github.com/users/shinnn/events{/privacy}","received_events_url":"https://api.github.com/users/shinnn/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T19:14:36Z","updated_at":"2015-03-27T19:14:36Z","body":"@thomasklein You can add `extend myLayout\\n` to every file with [grunt-contrib-concat](https://github.com/gruntjs/grunt-contrib-concat).\r\n"}}