{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/pulls/2","id":38421305,"html_url":"https://github.com/ixisio/grunt-ejs-locals/pull/2","diff_url":"https://github.com/ixisio/grunt-ejs-locals/pull/2.diff","patch_url":"https://github.com/ixisio/grunt-ejs-locals/pull/2.patch","issue_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/issues/2","number":2,"state":"closed","locked":false,"title":"Fixed bug when setting _layoutFile on expand src","user":{"login":"EloB","id":476567,"avatar_url":"https://avatars.githubusercontent.com/u/476567?v=3","gravatar_id":"","url":"https://api.github.com/users/EloB","html_url":"https://github.com/EloB","followers_url":"https://api.github.com/users/EloB/followers","following_url":"https://api.github.com/users/EloB/following{/other_user}","gists_url":"https://api.github.com/users/EloB/gists{/gist_id}","starred_url":"https://api.github.com/users/EloB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EloB/subscriptions","organizations_url":"https://api.github.com/users/EloB/orgs","repos_url":"https://api.github.com/users/EloB/repos","events_url":"https://api.github.com/users/EloB/events{/privacy}","received_events_url":"https://api.github.com/users/EloB/received_events","type":"User","site_admin":false},"body":"I would like to set a default layout. This could be done better but atleast this works!\r\n```js\r\ngrunt.initConfig({\r\n  options: {\r\n     settings: {\r\n       views: path.join(__dirname, 'lib')\r\n     },\r\n     locals: {\r\n       _layoutFile: path.sep + 'default-layout', // This will only apply for the first template\r\n    },\r\n  },\r\n  src: ['*.ejs'],\r\n  cwd: 'some/path',\r\n  dest: 'build',\r\n  expand: true,\r\n  ext: '.html'\r\n});\r\n```","created_at":"2015-06-24T09:07:28Z","updated_at":"2016-10-27T05:28:40Z","closed_at":"2016-10-27T05:28:40Z","merged_at":"2016-10-27T05:28:40Z","merge_commit_sha":"bcf3dc63c4571dfc39c5930b441d9f4fc586e5dd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/pulls/2/commits","review_comments_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/pulls/2/comments","review_comment_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/issues/2/comments","statuses_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/statuses/8ea8896343abad96e694cfa08ee1be87e0389764","head":{"label":"EloB:fix/overriding-options","ref":"fix/overriding-options","sha":"8ea8896343abad96e694cfa08ee1be87e0389764","user":{"login":"EloB","id":476567,"avatar_url":"https://avatars.githubusercontent.com/u/476567?v=3","gravatar_id":"","url":"https://api.github.com/users/EloB","html_url":"https://github.com/EloB","followers_url":"https://api.github.com/users/EloB/followers","following_url":"https://api.github.com/users/EloB/following{/other_user}","gists_url":"https://api.github.com/users/EloB/gists{/gist_id}","starred_url":"https://api.github.com/users/EloB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EloB/subscriptions","organizations_url":"https://api.github.com/users/EloB/orgs","repos_url":"https://api.github.com/users/EloB/repos","events_url":"https://api.github.com/users/EloB/events{/privacy}","received_events_url":"https://api.github.com/users/EloB/received_events","type":"User","site_admin":false},"repo":{"id":37973563,"name":"grunt-ejs-locals","full_name":"EloB/grunt-ejs-locals","owner":{"login":"EloB","id":476567,"avatar_url":"https://avatars.githubusercontent.com/u/476567?v=3","gravatar_id":"","url":"https://api.github.com/users/EloB","html_url":"https://github.com/EloB","followers_url":"https://api.github.com/users/EloB/followers","following_url":"https://api.github.com/users/EloB/following{/other_user}","gists_url":"https://api.github.com/users/EloB/gists{/gist_id}","starred_url":"https://api.github.com/users/EloB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EloB/subscriptions","organizations_url":"https://api.github.com/users/EloB/orgs","repos_url":"https://api.github.com/users/EloB/repos","events_url":"https://api.github.com/users/EloB/events{/privacy}","received_events_url":"https://api.github.com/users/EloB/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EloB/grunt-ejs-locals","description":"A Grunt task for compiling EJS templates with the taste of layouts, blocks and partials.","fork":true,"url":"https://api.github.com/repos/EloB/grunt-ejs-locals","forks_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/forks","keys_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/teams","hooks_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/hooks","issue_events_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/issues/events{/number}","events_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/events","assignees_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/assignees{/user}","branches_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/branches{/branch}","tags_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/tags","blobs_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/git/refs{/sha}","trees_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/statuses/{sha}","languages_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/languages","stargazers_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/stargazers","contributors_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/contributors","subscribers_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/subscribers","subscription_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/subscription","commits_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/commits{/sha}","git_commits_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/git/commits{/sha}","comments_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/comments{/number}","issue_comment_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/issues/comments{/number}","contents_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/contents/{+path}","compare_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/merges","archive_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/downloads","issues_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/issues{/number}","pulls_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/pulls{/number}","milestones_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/milestones{/number}","notifications_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/labels{/name}","releases_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/releases{/id}","deployments_url":"https://api.github.com/repos/EloB/grunt-ejs-locals/deployments","created_at":"2015-06-24T08:55:30Z","updated_at":"2015-06-24T08:55:31Z","pushed_at":"2015-06-24T11:56:50Z","git_url":"git://github.com/EloB/grunt-ejs-locals.git","ssh_url":"git@github.com:EloB/grunt-ejs-locals.git","clone_url":"https://github.com/EloB/grunt-ejs-locals.git","svn_url":"https://github.com/EloB/grunt-ejs-locals","homepage":"","size":117,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ixisio:master","ref":"master","sha":"91d28fb2cdfcc2af23e24a2b2dc054b3c161dd9c","user":{"login":"ixisio","id":2619812,"avatar_url":"https://avatars.githubusercontent.com/u/2619812?v=3","gravatar_id":"","url":"https://api.github.com/users/ixisio","html_url":"https://github.com/ixisio","followers_url":"https://api.github.com/users/ixisio/followers","following_url":"https://api.github.com/users/ixisio/following{/other_user}","gists_url":"https://api.github.com/users/ixisio/gists{/gist_id}","starred_url":"https://api.github.com/users/ixisio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ixisio/subscriptions","organizations_url":"https://api.github.com/users/ixisio/orgs","repos_url":"https://api.github.com/users/ixisio/repos","events_url":"https://api.github.com/users/ixisio/events{/privacy}","received_events_url":"https://api.github.com/users/ixisio/received_events","type":"User","site_admin":false},"repo":{"id":19530004,"name":"grunt-ejs-locals","full_name":"ixisio/grunt-ejs-locals","owner":{"login":"ixisio","id":2619812,"avatar_url":"https://avatars.githubusercontent.com/u/2619812?v=3","gravatar_id":"","url":"https://api.github.com/users/ixisio","html_url":"https://github.com/ixisio","followers_url":"https://api.github.com/users/ixisio/followers","following_url":"https://api.github.com/users/ixisio/following{/other_user}","gists_url":"https://api.github.com/users/ixisio/gists{/gist_id}","starred_url":"https://api.github.com/users/ixisio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ixisio/subscriptions","organizations_url":"https://api.github.com/users/ixisio/orgs","repos_url":"https://api.github.com/users/ixisio/repos","events_url":"https://api.github.com/users/ixisio/events{/privacy}","received_events_url":"https://api.github.com/users/ixisio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ixisio/grunt-ejs-locals","description":"A Grunt task for compiling EJS templates with the taste of layouts, blocks and partials.","fork":false,"url":"https://api.github.com/repos/ixisio/grunt-ejs-locals","forks_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/forks","keys_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/teams","hooks_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/hooks","issue_events_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/issues/events{/number}","events_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/events","assignees_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/assignees{/user}","branches_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/branches{/branch}","tags_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/tags","blobs_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/git/refs{/sha}","trees_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/statuses/{sha}","languages_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/languages","stargazers_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/stargazers","contributors_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/contributors","subscribers_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/subscribers","subscription_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/subscription","commits_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/commits{/sha}","git_commits_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/git/commits{/sha}","comments_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/comments{/number}","issue_comment_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/issues/comments{/number}","contents_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/contents/{+path}","compare_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/merges","archive_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/downloads","issues_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/issues{/number}","pulls_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/pulls{/number}","milestones_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/milestones{/number}","notifications_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/labels{/name}","releases_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/releases{/id}","deployments_url":"https://api.github.com/repos/ixisio/grunt-ejs-locals/deployments","created_at":"2014-05-07T10:16:42Z","updated_at":"2015-02-16T19:21:39Z","pushed_at":"2016-10-27T05:28:40Z","git_url":"git://github.com/ixisio/grunt-ejs-locals.git","ssh_url":"git@github.com:ixisio/grunt-ejs-locals.git","clone_url":"https://github.com/ixisio/grunt-ejs-locals.git","svn_url":"https://github.com/ixisio/grunt-ejs-locals","homepage":"","size":257,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ixisio/grunt-ejs-locals/pulls/2"},"html":{"href":"https://github.com/ixisio/grunt-ejs-locals/pull/2"},"issue":{"href":"https://api.github.com/repos/ixisio/grunt-ejs-locals/issues/2"},"comments":{"href":"https://api.github.com/repos/ixisio/grunt-ejs-locals/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/ixisio/grunt-ejs-locals/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/ixisio/grunt-ejs-locals/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ixisio/grunt-ejs-locals/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/ixisio/grunt-ejs-locals/statuses/8ea8896343abad96e694cfa08ee1be87e0389764"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pluschnikow","id":2874308,"avatar_url":"https://avatars.githubusercontent.com/u/2874308?v=3","gravatar_id":"","url":"https://api.github.com/users/pluschnikow","html_url":"https://github.com/pluschnikow","followers_url":"https://api.github.com/users/pluschnikow/followers","following_url":"https://api.github.com/users/pluschnikow/following{/other_user}","gists_url":"https://api.github.com/users/pluschnikow/gists{/gist_id}","starred_url":"https://api.github.com/users/pluschnikow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pluschnikow/subscriptions","organizations_url":"https://api.github.com/users/pluschnikow/orgs","repos_url":"https://api.github.com/users/pluschnikow/repos","events_url":"https://api.github.com/users/pluschnikow/events{/privacy}","received_events_url":"https://api.github.com/users/pluschnikow/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":6,"changed_files":2}}
{"actor":{"display_login":"pluschnikow"}}