{"action":"created","issue":{"url":"https://api.github.com/repos/assemble/grunt-assemble-i18n/issues/57","labels_url":"https://api.github.com/repos/assemble/grunt-assemble-i18n/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/assemble/grunt-assemble-i18n/issues/57/comments","events_url":"https://api.github.com/repos/assemble/grunt-assemble-i18n/issues/57/events","html_url":"https://github.com/assemble/grunt-assemble-i18n/issues/57","id":92684652,"number":57,"title":"arrays and front-matter variables","user":{"login":"thedamon","id":1375267,"avatar_url":"https://avatars.githubusercontent.com/u/1375267?v=3","gravatar_id":"","url":"https://api.github.com/users/thedamon","html_url":"https://github.com/thedamon","followers_url":"https://api.github.com/users/thedamon/followers","following_url":"https://api.github.com/users/thedamon/following{/other_user}","gists_url":"https://api.github.com/users/thedamon/gists{/gist_id}","starred_url":"https://api.github.com/users/thedamon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thedamon/subscriptions","organizations_url":"https://api.github.com/users/thedamon/orgs","repos_url":"https://api.github.com/users/thedamon/repos","events_url":"https://api.github.com/users/thedamon/events{/privacy}","received_events_url":"https://api.github.com/users/thedamon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-02T16:57:25Z","updated_at":"2015-09-28T17:25:01Z","closed_at":null,"body":"I have this set up so that I can call strings with the i18n helper, but I need to figure out how to handle front-matter variables on a page, and iterating over arrays of data.\r\n\r\nIs there a standard/assumed way of doing this?\r\n\r\nI want to achieve something like the following:\r\n```\r\nen:\r\n  title: Bananas\r\nfr:\r\n  title: Les bananes\r\n---\r\n{{title}}\r\n```\r\nThis of course overwrites the en/fr variable so all the other keys are lost and the build fails. My assumption is I need to set these translations in the `i18n\\en.yml` etc?\r\n\r\nThen how do I handle, say, an array in my data using `{{each}}`? I can't pass a helper to a helper\r\n\r\n```\r\n\r\nfruits:\r\n-\r\n  name: apple\r\n  color: red or green\r\n  size: medium\r\n-\r\n  name: banana\r\n  color: yellow\r\n  size: medium\r\n-\r\n  name: blueberry\r\n  color: blue\r\n  size: small\r\n```\r\n```\r\n{{#each fruits}}\r\n  {{name}}\r\n{{/each}}\r\n```\r\nIs the key to do `fruits: <%= i18n.fruits %>` in the front-matter?  that doesn't seem to be working...\r\n"},"comment":{"url":"https://api.github.com/repos/assemble/grunt-assemble-i18n/issues/comments/143812026","html_url":"https://github.com/assemble/grunt-assemble-i18n/issues/57#issuecomment-143812026","issue_url":"https://api.github.com/repos/assemble/grunt-assemble-i18n/issues/57","id":143812026,"user":{"login":"LaurentGoderre","id":1090826,"avatar_url":"https://avatars.githubusercontent.com/u/1090826?v=3","gravatar_id":"","url":"https://api.github.com/users/LaurentGoderre","html_url":"https://github.com/LaurentGoderre","followers_url":"https://api.github.com/users/LaurentGoderre/followers","following_url":"https://api.github.com/users/LaurentGoderre/following{/other_user}","gists_url":"https://api.github.com/users/LaurentGoderre/gists{/gist_id}","starred_url":"https://api.github.com/users/LaurentGoderre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaurentGoderre/subscriptions","organizations_url":"https://api.github.com/users/LaurentGoderre/orgs","repos_url":"https://api.github.com/users/LaurentGoderre/repos","events_url":"https://api.github.com/users/LaurentGoderre/events{/privacy}","received_events_url":"https://api.github.com/users/LaurentGoderre/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T17:25:01Z","updated_at":"2015-09-28T17:25:01Z","body":"We use a CSV that is then converted to the right data\r\n\r\nhttps://github.com/wet-boew/wet-boew/blob/master/src/i18n/i18n.csv\r\nhttps://github.com/wet-boew/wet-boew/blob/master/Gruntfile.coffee#L1263-L1274"}}