{"action":"opened","issue":{"url":"https://api.github.com/repos/Pylons/pyramid_layout/issues/31","labels_url":"https://api.github.com/repos/Pylons/pyramid_layout/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/Pylons/pyramid_layout/issues/31/comments","events_url":"https://api.github.com/repos/Pylons/pyramid_layout/issues/31/events","html_url":"https://github.com/Pylons/pyramid_layout/issues/31","id":78918652,"number":31,"title":"Using panel inside a jinja2 template","user":{"login":"robertlagrant","id":1766161,"avatar_url":"https://avatars.githubusercontent.com/u/1766161?v=3","gravatar_id":"","url":"https://api.github.com/users/robertlagrant","html_url":"https://github.com/robertlagrant","followers_url":"https://api.github.com/users/robertlagrant/followers","following_url":"https://api.github.com/users/robertlagrant/following{/other_user}","gists_url":"https://api.github.com/users/robertlagrant/gists{/gist_id}","starred_url":"https://api.github.com/users/robertlagrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertlagrant/subscriptions","organizations_url":"https://api.github.com/users/robertlagrant/orgs","repos_url":"https://api.github.com/users/robertlagrant/repos","events_url":"https://api.github.com/users/robertlagrant/events{/privacy}","received_events_url":"https://api.github.com/users/robertlagrant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-21T09:46:23Z","updated_at":"2015-05-21T09:46:23Z","closed_at":null,"body":"I'm using pyramid_fullauth's mako-based templates inside a panel, which I'm then including inside a jinja2 template, which has a jinja2 layout.\r\n\r\nHere's the jinja2 template, panel syntax guessed from the pyramid_layout docs:\r\n\r\n    {% extends main_template %}\r\n    {% block body %}\r\n    {% panel('login_panel') %}\r\n    {% endblock %}\r\n\r\nBut I get the following error:\r\n\r\n> jinja2.exceptions.TemplateSyntaxError: Encountered unknown tag 'panel'. Jinja was looking for the following tags: 'endblock'. The innermost block that needs to be closed is 'block'.\r\n\r\nIs this a bug? Or did I try the wrong syntax?\r\n\r\nThanks!"}}