{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/pulls/2","id":51949029,"html_url":"https://github.com/strawbrary/koa-nunjucks-2/pull/2","diff_url":"https://github.com/strawbrary/koa-nunjucks-2/pull/2.diff","patch_url":"https://github.com/strawbrary/koa-nunjucks-2/pull/2.patch","issue_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/issues/2","number":2,"state":"open","locked":false,"title":"Enable rendering of more than 1 file type","user":{"login":"tond4","id":4644000,"avatar_url":"https://avatars.githubusercontent.com/u/4644000?v=3","gravatar_id":"","url":"https://api.github.com/users/tond4","html_url":"https://github.com/tond4","followers_url":"https://api.github.com/users/tond4/followers","following_url":"https://api.github.com/users/tond4/following{/other_user}","gists_url":"https://api.github.com/users/tond4/gists{/gist_id}","starred_url":"https://api.github.com/users/tond4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tond4/subscriptions","organizations_url":"https://api.github.com/users/tond4/orgs","repos_url":"https://api.github.com/users/tond4/repos","events_url":"https://api.github.com/users/tond4/events{/privacy}","received_events_url":"https://api.github.com/users/tond4/received_events","type":"User","site_admin":false},"body":"Initialize koaNunjucks with default file extension set to false\r\n```` javascript\r\napp.context.render = koaNunjucks({ \r\n  ext: false,\r\n  path: path.join(__dirname, 'views')\r\n});\r\n````\r\nto enable rendering more than 1 file type with passing full filename to each ````this.render````\r\n````javascript\r\napp.use(function*() {\r\n  yield this.render('home.html', {double: 'rainbow'});\r\n});\r\n````","created_at":"2015-11-26T22:44:50Z","updated_at":"2015-11-26T22:44:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/pulls/2/commits","review_comments_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/pulls/2/comments","review_comment_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/issues/2/comments","statuses_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/statuses/4f8b5261c9c6765897f4aa3245ddffb46390f221","head":{"label":"tond4:master","ref":"master","sha":"4f8b5261c9c6765897f4aa3245ddffb46390f221","user":{"login":"tond4","id":4644000,"avatar_url":"https://avatars.githubusercontent.com/u/4644000?v=3","gravatar_id":"","url":"https://api.github.com/users/tond4","html_url":"https://github.com/tond4","followers_url":"https://api.github.com/users/tond4/followers","following_url":"https://api.github.com/users/tond4/following{/other_user}","gists_url":"https://api.github.com/users/tond4/gists{/gist_id}","starred_url":"https://api.github.com/users/tond4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tond4/subscriptions","organizations_url":"https://api.github.com/users/tond4/orgs","repos_url":"https://api.github.com/users/tond4/repos","events_url":"https://api.github.com/users/tond4/events{/privacy}","received_events_url":"https://api.github.com/users/tond4/received_events","type":"User","site_admin":false},"repo":{"id":46944237,"name":"koa-nunjucks-2","full_name":"tond4/koa-nunjucks-2","owner":{"login":"tond4","id":4644000,"avatar_url":"https://avatars.githubusercontent.com/u/4644000?v=3","gravatar_id":"","url":"https://api.github.com/users/tond4","html_url":"https://github.com/tond4","followers_url":"https://api.github.com/users/tond4/followers","following_url":"https://api.github.com/users/tond4/following{/other_user}","gists_url":"https://api.github.com/users/tond4/gists{/gist_id}","starred_url":"https://api.github.com/users/tond4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tond4/subscriptions","organizations_url":"https://api.github.com/users/tond4/orgs","repos_url":"https://api.github.com/users/tond4/repos","events_url":"https://api.github.com/users/tond4/events{/privacy}","received_events_url":"https://api.github.com/users/tond4/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tond4/koa-nunjucks-2","description":"Thin wrapper over Nunjucks 2.0 for Koa","fork":true,"url":"https://api.github.com/repos/tond4/koa-nunjucks-2","forks_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/forks","keys_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/teams","hooks_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/hooks","issue_events_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/issues/events{/number}","events_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/events","assignees_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/assignees{/user}","branches_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/branches{/branch}","tags_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/tags","blobs_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/git/refs{/sha}","trees_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/statuses/{sha}","languages_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/languages","stargazers_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/stargazers","contributors_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/contributors","subscribers_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/subscribers","subscription_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/subscription","commits_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/commits{/sha}","git_commits_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/git/commits{/sha}","comments_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/comments{/number}","issue_comment_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/issues/comments{/number}","contents_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/contents/{+path}","compare_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/merges","archive_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/downloads","issues_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/issues{/number}","pulls_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/pulls{/number}","milestones_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/milestones{/number}","notifications_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/labels{/name}","releases_url":"https://api.github.com/repos/tond4/koa-nunjucks-2/releases{/id}","created_at":"2015-11-26T19:45:41Z","updated_at":"2015-11-26T19:45:42Z","pushed_at":"2015-11-26T22:37:23Z","git_url":"git://github.com/tond4/koa-nunjucks-2.git","ssh_url":"git@github.com:tond4/koa-nunjucks-2.git","clone_url":"https://github.com/tond4/koa-nunjucks-2.git","svn_url":"https://github.com/tond4/koa-nunjucks-2","homepage":"","size":4,"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":"strawbrary:master","ref":"master","sha":"396b185191d79268514740b701ac41fed01a4ed0","user":{"login":"strawbrary","id":2499332,"avatar_url":"https://avatars.githubusercontent.com/u/2499332?v=3","gravatar_id":"","url":"https://api.github.com/users/strawbrary","html_url":"https://github.com/strawbrary","followers_url":"https://api.github.com/users/strawbrary/followers","following_url":"https://api.github.com/users/strawbrary/following{/other_user}","gists_url":"https://api.github.com/users/strawbrary/gists{/gist_id}","starred_url":"https://api.github.com/users/strawbrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strawbrary/subscriptions","organizations_url":"https://api.github.com/users/strawbrary/orgs","repos_url":"https://api.github.com/users/strawbrary/repos","events_url":"https://api.github.com/users/strawbrary/events{/privacy}","received_events_url":"https://api.github.com/users/strawbrary/received_events","type":"User","site_admin":false},"repo":{"id":38401757,"name":"koa-nunjucks-2","full_name":"strawbrary/koa-nunjucks-2","owner":{"login":"strawbrary","id":2499332,"avatar_url":"https://avatars.githubusercontent.com/u/2499332?v=3","gravatar_id":"","url":"https://api.github.com/users/strawbrary","html_url":"https://github.com/strawbrary","followers_url":"https://api.github.com/users/strawbrary/followers","following_url":"https://api.github.com/users/strawbrary/following{/other_user}","gists_url":"https://api.github.com/users/strawbrary/gists{/gist_id}","starred_url":"https://api.github.com/users/strawbrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strawbrary/subscriptions","organizations_url":"https://api.github.com/users/strawbrary/orgs","repos_url":"https://api.github.com/users/strawbrary/repos","events_url":"https://api.github.com/users/strawbrary/events{/privacy}","received_events_url":"https://api.github.com/users/strawbrary/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/strawbrary/koa-nunjucks-2","description":"Thin wrapper over Nunjucks 2.0 for Koa","fork":false,"url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2","forks_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/forks","keys_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/teams","hooks_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/hooks","issue_events_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/issues/events{/number}","events_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/events","assignees_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/assignees{/user}","branches_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/branches{/branch}","tags_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/tags","blobs_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/git/refs{/sha}","trees_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/statuses/{sha}","languages_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/languages","stargazers_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/stargazers","contributors_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/contributors","subscribers_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/subscribers","subscription_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/subscription","commits_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/commits{/sha}","git_commits_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/git/commits{/sha}","comments_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/comments{/number}","issue_comment_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/issues/comments{/number}","contents_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/contents/{+path}","compare_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/merges","archive_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/downloads","issues_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/issues{/number}","pulls_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/pulls{/number}","milestones_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/milestones{/number}","notifications_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/labels{/name}","releases_url":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/releases{/id}","created_at":"2015-07-02T00:14:22Z","updated_at":"2015-11-09T09:29:03Z","pushed_at":"2015-11-26T22:44:51Z","git_url":"git://github.com/strawbrary/koa-nunjucks-2.git","ssh_url":"git@github.com:strawbrary/koa-nunjucks-2.git","clone_url":"https://github.com/strawbrary/koa-nunjucks-2.git","svn_url":"https://github.com/strawbrary/koa-nunjucks-2","homepage":"","size":164,"stargazers_count":4,"watchers_count":4,"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":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/pulls/2"},"html":{"href":"https://github.com/strawbrary/koa-nunjucks-2/pull/2"},"issue":{"href":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/issues/2"},"comments":{"href":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/strawbrary/koa-nunjucks-2/statuses/4f8b5261c9c6765897f4aa3245ddffb46390f221"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}