{"action":"created","issue":{"url":"https://api.github.com/repos/keystonejs/generator-keystone/issues/181","repository_url":"https://api.github.com/repos/keystonejs/generator-keystone","labels_url":"https://api.github.com/repos/keystonejs/generator-keystone/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/keystonejs/generator-keystone/issues/181/comments","events_url":"https://api.github.com/repos/keystonejs/generator-keystone/issues/181/events","html_url":"https://github.com/keystonejs/generator-keystone/issues/181","id":153635776,"number":181,"title":"Nunjucks can't find correct template path with consolidate 0.14.1","user":{"login":"xres","id":4674960,"avatar_url":"https://avatars.githubusercontent.com/u/4674960?v=3","gravatar_id":"","url":"https://api.github.com/users/xres","html_url":"https://github.com/xres","followers_url":"https://api.github.com/users/xres/followers","following_url":"https://api.github.com/users/xres/following{/other_user}","gists_url":"https://api.github.com/users/xres/gists{/gist_id}","starred_url":"https://api.github.com/users/xres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xres/subscriptions","organizations_url":"https://api.github.com/users/xres/orgs","repos_url":"https://api.github.com/users/xres/repos","events_url":"https://api.github.com/users/xres/events{/privacy}","received_events_url":"https://api.github.com/users/xres/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-08T05:01:20Z","updated_at":"2016-05-09T20:49:52Z","closed_at":null,"body":"consolidate introduced a change in [v0.14.1](https://github.com/tj/consolidate.js/pull/152) that passes the views path to Nunjucks.\r\n\r\nHere's my workaround:\r\n\r\n**keystone.js**\r\n```\r\nkeystone.init({\r\n  'views': ['templates', 'templates/views'],\r\n```\r\n\r\n**views/index.html**\r\n```\r\n{% extends \"layouts/default.html\" %}\r\n```\r\n\r\nIf I'm on the right path, I can create a PR."},"comment":{"url":"https://api.github.com/repos/keystonejs/generator-keystone/issues/comments/217985345","html_url":"https://github.com/keystonejs/generator-keystone/issues/181#issuecomment-217985345","issue_url":"https://api.github.com/repos/keystonejs/generator-keystone/issues/181","id":217985345,"user":{"login":"mxstbr","id":7525670,"avatar_url":"https://avatars.githubusercontent.com/u/7525670?v=3","gravatar_id":"","url":"https://api.github.com/users/mxstbr","html_url":"https://github.com/mxstbr","followers_url":"https://api.github.com/users/mxstbr/followers","following_url":"https://api.github.com/users/mxstbr/following{/other_user}","gists_url":"https://api.github.com/users/mxstbr/gists{/gist_id}","starred_url":"https://api.github.com/users/mxstbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxstbr/subscriptions","organizations_url":"https://api.github.com/users/mxstbr/orgs","repos_url":"https://api.github.com/users/mxstbr/repos","events_url":"https://api.github.com/users/mxstbr/events{/privacy}","received_events_url":"https://api.github.com/users/mxstbr/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T20:49:52Z","updated_at":"2016-05-09T20:49:52Z","body":"Ah right, yeah that's a problem! :grin:\r\n\r\nWould you mind submitting a PR with your fix? It looks pretty solid!"}}