{"action":"opened","issue":{"url":"https://api.github.com/repos/pugjs/pug/issues/2632","repository_url":"https://api.github.com/repos/pugjs/pug","labels_url":"https://api.github.com/repos/pugjs/pug/issues/2632/labels{/name}","comments_url":"https://api.github.com/repos/pugjs/pug/issues/2632/comments","events_url":"https://api.github.com/repos/pugjs/pug/issues/2632/events","html_url":"https://github.com/pugjs/pug/issues/2632","id":194162462,"number":2632,"title":"Top-level comments in extending templates","user":{"login":"tomkersten","id":3287,"avatar_url":"https://avatars.githubusercontent.com/u/3287?v=3","gravatar_id":"","url":"https://api.github.com/users/tomkersten","html_url":"https://github.com/tomkersten","followers_url":"https://api.github.com/users/tomkersten/followers","following_url":"https://api.github.com/users/tomkersten/following{/other_user}","gists_url":"https://api.github.com/users/tomkersten/gists{/gist_id}","starred_url":"https://api.github.com/users/tomkersten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomkersten/subscriptions","organizations_url":"https://api.github.com/users/tomkersten/orgs","repos_url":"https://api.github.com/users/tomkersten/repos","events_url":"https://api.github.com/users/tomkersten/events{/privacy}","received_events_url":"https://api.github.com/users/tomkersten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-07T20:37:46Z","updated_at":"2016-12-07T20:37:46Z","closed_at":null,"body":"I see that comments are no longer allowed at the top-level of extending templates. I can work on a PR for this if desired but wanted to confirm whether it was an accidental or intentional change.\r\n\r\n```bash\r\nMessage:\r\n    /.../file.pug:3\r\n\r\nOnly named blocks and mixins can appear at the top level of an extending template\r\nDetails:\r\n    code: PUG:UNEXPECTED_NODES_IN_EXTENDING_ROOT\r\n    msg: Only named blocks and mixins can appear at the top level of an extending template\r\n    line: 3\r\n    column: undefined\r\n    filename: /.../file.pug\r\n    src: undefined\r\n    toJSON: function () {\r\n    return {\r\n      code: this.code,\r\n      msg: this.msg,\r\n      line: this.line,\r\n      column: this.column,\r\n      filename: this.filename\r\n    };\r\n  }\r\n```\r\n\r\nThoughts?"}}
{"actor":{"display_login":"tomkersten"}}