{"action":"created","issue":{"url":"https://api.github.com/repos/superwolff/metalsmith-layouts/issues/81","repository_url":"https://api.github.com/repos/superwolff/metalsmith-layouts","labels_url":"https://api.github.com/repos/superwolff/metalsmith-layouts/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/superwolff/metalsmith-layouts/issues/81/comments","events_url":"https://api.github.com/repos/superwolff/metalsmith-layouts/issues/81/events","html_url":"https://github.com/superwolff/metalsmith-layouts/issues/81","id":147272796,"number":81,"title":"rendering custom global metadata in a partial","user":{"login":"fephil","id":1689044,"avatar_url":"https://avatars.githubusercontent.com/u/1689044?v=3","gravatar_id":"","url":"https://api.github.com/users/fephil","html_url":"https://github.com/fephil","followers_url":"https://api.github.com/users/fephil/followers","following_url":"https://api.github.com/users/fephil/following{/other_user}","gists_url":"https://api.github.com/users/fephil/gists{/gist_id}","starred_url":"https://api.github.com/users/fephil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fephil/subscriptions","organizations_url":"https://api.github.com/users/fephil/orgs","repos_url":"https://api.github.com/users/fephil/repos","events_url":"https://api.github.com/users/fephil/events{/privacy}","received_events_url":"https://api.github.com/users/fephil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-10T22:05:18Z","updated_at":"2016-04-11T08:31:35Z","closed_at":null,"body":"Hi,\r\n\r\nI have built my own plugin for adding metadata from multiple json files and it works fine on pages but doesn't work when references are in a partial.\r\n\r\nLink to plugin: http://github.com/fephil/metalsmith-data-directory\r\nLink to example workflow: http://github.com/fephil/foley\r\n\r\nI tried looking at the layouts code but I didn't see anything out of the ordinary.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/superwolff/metalsmith-layouts/issues/comments/208228421","html_url":"https://github.com/superwolff/metalsmith-layouts/issues/81#issuecomment-208228421","issue_url":"https://api.github.com/repos/superwolff/metalsmith-layouts/issues/81","id":208228421,"user":{"login":"ismay","id":7355199,"avatar_url":"https://avatars.githubusercontent.com/u/7355199?v=3","gravatar_id":"","url":"https://api.github.com/users/ismay","html_url":"https://github.com/ismay","followers_url":"https://api.github.com/users/ismay/followers","following_url":"https://api.github.com/users/ismay/following{/other_user}","gists_url":"https://api.github.com/users/ismay/gists{/gist_id}","starred_url":"https://api.github.com/users/ismay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismay/subscriptions","organizations_url":"https://api.github.com/users/ismay/orgs","repos_url":"https://api.github.com/users/ismay/repos","events_url":"https://api.github.com/users/ismay/events{/privacy}","received_events_url":"https://api.github.com/users/ismay/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T08:31:35Z","updated_at":"2016-04-11T08:31:35Z","body":"Hmm strange, the metadata should just be available everywhere. Might be a context problem if you're using a language like handlebars: http://assemble.io/docs/Context.html"}}