{"action":"created","issue":{"url":"https://api.github.com/repos/mauricemach/zappa/issues/101","labels_url":"https://api.github.com/repos/mauricemach/zappa/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/mauricemach/zappa/issues/101/comments","events_url":"https://api.github.com/repos/mauricemach/zappa/issues/101/events","html_url":"https://github.com/mauricemach/zappa/issues/101","id":1857995,"number":101,"title":"Unable to include files in templates","user":{"login":"pikeas","id":686573,"avatar_url":"https://avatars.githubusercontent.com/u/686573?v=3","gravatar_id":"","url":"https://api.github.com/users/pikeas","html_url":"https://github.com/pikeas","followers_url":"https://api.github.com/users/pikeas/followers","following_url":"https://api.github.com/users/pikeas/following{/other_user}","gists_url":"https://api.github.com/users/pikeas/gists{/gist_id}","starred_url":"https://api.github.com/users/pikeas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pikeas/subscriptions","organizations_url":"https://api.github.com/users/pikeas/orgs","repos_url":"https://api.github.com/users/pikeas/repos","events_url":"https://api.github.com/users/pikeas/events{/privacy}","received_events_url":"https://api.github.com/users/pikeas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2011-10-09T19:22:06Z","updated_at":"2015-02-24T23:39:20Z","closed_at":"2015-02-24T23:39:20Z","body":"Include directives in templates aren't working.\r\n\r\nrequire('zappa') ->\r\n\r\n\t@use 'bodyParser', 'methodOverride', @app.router, 'static','cookieParser', session: {secret: 'fnord'}, 'cookies'\r\n\t@set 'view engine': 'jade', views: \"#{__dirname}/views\"\r\n\r\n\t@get '/': -> @render 'index'\r\n\r\n\t@view index: '''\r\n\t\tinclude header\r\n\t\tp Blah blah blah\r\n\t'''\r\n\r\nThis fails with a bad file descriptor error on console. The following also fail: \"include header.jade\", \"include views/header\", \"include views/header.jade\". The same thing happens when trying to use an include statement in a template on disk (eg, in layout.jade)."},"comment":{"url":"https://api.github.com/repos/mauricemach/zappa/issues/comments/75874857","html_url":"https://github.com/mauricemach/zappa/issues/101#issuecomment-75874857","issue_url":"https://api.github.com/repos/mauricemach/zappa/issues/101","id":75874857,"user":{"login":"pikeas","id":686573,"avatar_url":"https://avatars.githubusercontent.com/u/686573?v=3","gravatar_id":"","url":"https://api.github.com/users/pikeas","html_url":"https://github.com/pikeas","followers_url":"https://api.github.com/users/pikeas/followers","following_url":"https://api.github.com/users/pikeas/following{/other_user}","gists_url":"https://api.github.com/users/pikeas/gists{/gist_id}","starred_url":"https://api.github.com/users/pikeas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pikeas/subscriptions","organizations_url":"https://api.github.com/users/pikeas/orgs","repos_url":"https://api.github.com/users/pikeas/repos","events_url":"https://api.github.com/users/pikeas/events{/privacy}","received_events_url":"https://api.github.com/users/pikeas/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T23:39:20Z","updated_at":"2015-02-24T23:39:20Z","body":"Abandoned project, closing issue."}}