{"action":"created","issue":{"url":"https://api.github.com/repos/octobercms/october/issues/3089","repository_url":"https://api.github.com/repos/octobercms/october","labels_url":"https://api.github.com/repos/octobercms/october/issues/3089/labels{/name}","comments_url":"https://api.github.com/repos/octobercms/october/issues/3089/comments","events_url":"https://api.github.com/repos/octobercms/october/issues/3089/events","html_url":"https://github.com/octobercms/october/issues/3089","id":255367776,"number":3089,"title":"Templates aren't resolve against $basePath","user":{"login":"oleg-andreyev","id":1244112,"avatar_url":"https://avatars1.githubusercontent.com/u/1244112?v=4","gravatar_id":"","url":"https://api.github.com/users/oleg-andreyev","html_url":"https://github.com/oleg-andreyev","followers_url":"https://api.github.com/users/oleg-andreyev/followers","following_url":"https://api.github.com/users/oleg-andreyev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-andreyev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-andreyev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-andreyev/subscriptions","organizations_url":"https://api.github.com/users/oleg-andreyev/orgs","repos_url":"https://api.github.com/users/oleg-andreyev/repos","events_url":"https://api.github.com/users/oleg-andreyev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-andreyev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-05T18:30:35Z","updated_at":"2017-09-05T18:39:12Z","closed_at":"2017-09-05T18:39:12Z","author_association":"NONE","body":"##### Expected behavior\r\ntemplates are resolved against $basePath\r\n\r\n##### Actual behavior\r\ntemplates aren't resolved against $basePath and getting exception that template is missing\r\n\r\n##### Reproduce steps\r\n1. create template A\r\n\r\n```\r\n{# template A #}\r\nI'm template A\r\n{% include 'themes/themeName/templateBLocation/B.htm' %}\r\n```\r\n\r\n2. create template B\r\n\r\n```\r\n{# template B #}\r\nI'm template B\r\n```\r\n\r\n3. mirror project into public dir\r\n4. Visit page which will use templateA\r\n5. exception `An exception has been thrown during the rendering of a template`\r\n\r\n##### October build\r\nv1.0.419\r\n"},"comment":{"url":"https://api.github.com/repos/octobercms/october/issues/comments/327265453","html_url":"https://github.com/octobercms/october/issues/3089#issuecomment-327265453","issue_url":"https://api.github.com/repos/octobercms/october/issues/3089","id":327265453,"user":{"login":"LukeTowers","id":7253840,"avatar_url":"https://avatars0.githubusercontent.com/u/7253840?v=4","gravatar_id":"","url":"https://api.github.com/users/LukeTowers","html_url":"https://github.com/LukeTowers","followers_url":"https://api.github.com/users/LukeTowers/followers","following_url":"https://api.github.com/users/LukeTowers/following{/other_user}","gists_url":"https://api.github.com/users/LukeTowers/gists{/gist_id}","starred_url":"https://api.github.com/users/LukeTowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukeTowers/subscriptions","organizations_url":"https://api.github.com/users/LukeTowers/orgs","repos_url":"https://api.github.com/users/LukeTowers/repos","events_url":"https://api.github.com/users/LukeTowers/events{/privacy}","received_events_url":"https://api.github.com/users/LukeTowers/received_events","type":"User","site_admin":false},"created_at":"2017-09-05T18:39:12Z","updated_at":"2017-09-05T18:39:12Z","author_association":"MEMBER","body":"OctoberCMS does not support the Twig `{% include %}`. Use `{% content %}` or `{% partial %}` instead. See https://octobercms.com/docs/markup/templating"}}
{"actor":{"display_login":"LukeTowers"}}