{"action":"created","issue":{"url":"https://api.github.com/repos/timber/timber/issues/311","repository_url":"https://api.github.com/repos/timber/timber","labels_url":"https://api.github.com/repos/timber/timber/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/timber/timber/issues/311/comments","events_url":"https://api.github.com/repos/timber/timber/issues/311/events","html_url":"https://github.com/timber/timber/issues/311","id":39446095,"number":311,"title":"Add render path as relative location by default?","user":{"login":"parisholley","id":399289,"avatar_url":"https://avatars.githubusercontent.com/u/399289?v=3","gravatar_id":"","url":"https://api.github.com/users/parisholley","html_url":"https://github.com/parisholley","followers_url":"https://api.github.com/users/parisholley/followers","following_url":"https://api.github.com/users/parisholley/following{/other_user}","gists_url":"https://api.github.com/users/parisholley/gists{/gist_id}","starred_url":"https://api.github.com/users/parisholley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parisholley/subscriptions","organizations_url":"https://api.github.com/users/parisholley/orgs","repos_url":"https://api.github.com/users/parisholley/repos","events_url":"https://api.github.com/users/parisholley/events{/privacy}","received_events_url":"https://api.github.com/users/parisholley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/timber/timber/labels/needs-investigation","name":"needs-investigation","color":"d4c5f9"},{"url":"https://api.github.com/repos/timber/timber/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2014-08-04T18:16:01Z","updated_at":"2016-10-13T21:33:25Z","closed_at":null,"body":"Following in the same nature as #27, right now I am doing this before Timber::render() calls,\r\n\r\n```\r\nTimber::$locations[]= get_stylesheet_directory() . '/' . dirname($path);\r\n```\r\n\r\nOften times I organized my views in sub folders, and they may share things like sidebars, widgets, etc. Instead of having to do a full path include, it would be nice to have a relative lookup. Ideally, twig/timber would support a './' syntax so that is lookups the file relative to the requesting twig file."},"comment":{"url":"https://api.github.com/repos/timber/timber/issues/comments/253645425","html_url":"https://github.com/timber/timber/issues/311#issuecomment-253645425","issue_url":"https://api.github.com/repos/timber/timber/issues/311","id":253645425,"user":{"login":"bfred-it","id":1402241,"avatar_url":"https://avatars.githubusercontent.com/u/1402241?v=3","gravatar_id":"","url":"https://api.github.com/users/bfred-it","html_url":"https://github.com/bfred-it","followers_url":"https://api.github.com/users/bfred-it/followers","following_url":"https://api.github.com/users/bfred-it/following{/other_user}","gists_url":"https://api.github.com/users/bfred-it/gists{/gist_id}","starred_url":"https://api.github.com/users/bfred-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfred-it/subscriptions","organizations_url":"https://api.github.com/users/bfred-it/orgs","repos_url":"https://api.github.com/users/bfred-it/repos","events_url":"https://api.github.com/users/bfred-it/events{/privacy}","received_events_url":"https://api.github.com/users/bfred-it/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T21:33:25Z","updated_at":"2016-10-13T21:33:25Z","body":"I just started using Timber and I'm really missing relative paths resolution.\r\n\r\nI can do `include file.php`, `require('./file.js')`, `@import 'file.scss'` but not `include file.twig` :("}}
{"actor":{"display_login":"bfred-it"}}