{"action":"opened","issue":{"url":"https://api.github.com/repos/jaspervdj/hakyll/issues/378","labels_url":"https://api.github.com/repos/jaspervdj/hakyll/issues/378/labels{/name}","comments_url":"https://api.github.com/repos/jaspervdj/hakyll/issues/378/comments","events_url":"https://api.github.com/repos/jaspervdj/hakyll/issues/378/events","html_url":"https://github.com/jaspervdj/hakyll/issues/378","id":110090005,"number":378,"title":"templateCompiler should only parse the item body","user":{"login":"bergus","id":1146478,"avatar_url":"https://avatars.githubusercontent.com/u/1146478?v=3","gravatar_id":"","url":"https://api.github.com/users/bergus","html_url":"https://github.com/bergus","followers_url":"https://api.github.com/users/bergus/followers","following_url":"https://api.github.com/users/bergus/following{/other_user}","gists_url":"https://api.github.com/users/bergus/gists{/gist_id}","starred_url":"https://api.github.com/users/bergus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bergus/subscriptions","organizations_url":"https://api.github.com/users/bergus/orgs","repos_url":"https://api.github.com/users/bergus/repos","events_url":"https://api.github.com/users/bergus/events{/privacy}","received_events_url":"https://api.github.com/users/bergus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-06T20:09:29Z","updated_at":"2015-10-06T20:09:29Z","closed_at":null,"body":"I want (need) to use metadata is (some of) my templates.\r\nHowever, the default `templateCompiler` honors this by including the metadata in the `Template` (which renders it into the page), I had to write my own one - though that was fairly easy at least :-)\r\n\r\nIt should be as simple as replacing\r\n```hs\r\n    item <- getResourceString\r\n```\r\nwith\r\n```hs\r\n    item <- getResourceBody\r\n```"}}