{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/nunjucks/issues/690","repository_url":"https://api.github.com/repos/mozilla/nunjucks","labels_url":"https://api.github.com/repos/mozilla/nunjucks/issues/690/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/nunjucks/issues/690/comments","events_url":"https://api.github.com/repos/mozilla/nunjucks/issues/690/events","html_url":"https://github.com/mozilla/nunjucks/issues/690","id":138043022,"number":690,"title":"how to convert","user":{"login":"atmjs","id":12792057,"avatar_url":"https://avatars.githubusercontent.com/u/12792057?v=3","gravatar_id":"","url":"https://api.github.com/users/atmjs","html_url":"https://github.com/atmjs","followers_url":"https://api.github.com/users/atmjs/followers","following_url":"https://api.github.com/users/atmjs/following{/other_user}","gists_url":"https://api.github.com/users/atmjs/gists{/gist_id}","starred_url":"https://api.github.com/users/atmjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atmjs/subscriptions","organizations_url":"https://api.github.com/users/atmjs/orgs","repos_url":"https://api.github.com/users/atmjs/repos","events_url":"https://api.github.com/users/atmjs/events{/privacy}","received_events_url":"https://api.github.com/users/atmjs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-03T01:07:05Z","updated_at":"2016-03-03T01:43:13Z","closed_at":"2016-03-03T01:08:50Z","body":"```\r\n// in route\r\nres.locals.test = function ('fileId', callback) {\r\n  return 'test(' + arg1 + ',' + String(callback) + ');'\r\n}\r\n\r\nres.render('index.html', {title: 'index'})\r\n\r\n//in template index.html\r\n{{ test('fileId', \"function (M) {\r\n    log('{{ title }}');\r\n}\") }}\r\n```\r\nhow to convert  '{{title}}'  to 'index' in 'index.html'"},"comment":{"url":"https://api.github.com/repos/mozilla/nunjucks/issues/comments/191534087","html_url":"https://github.com/mozilla/nunjucks/issues/690#issuecomment-191534087","issue_url":"https://api.github.com/repos/mozilla/nunjucks/issues/690","id":191534087,"user":{"login":"atmjs","id":12792057,"avatar_url":"https://avatars.githubusercontent.com/u/12792057?v=3","gravatar_id":"","url":"https://api.github.com/users/atmjs","html_url":"https://github.com/atmjs","followers_url":"https://api.github.com/users/atmjs/followers","following_url":"https://api.github.com/users/atmjs/following{/other_user}","gists_url":"https://api.github.com/users/atmjs/gists{/gist_id}","starred_url":"https://api.github.com/users/atmjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atmjs/subscriptions","organizations_url":"https://api.github.com/users/atmjs/orgs","repos_url":"https://api.github.com/users/atmjs/repos","events_url":"https://api.github.com/users/atmjs/events{/privacy}","received_events_url":"https://api.github.com/users/atmjs/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T01:43:13Z","updated_at":"2016-03-03T01:43:13Z","body":"my English is poor, please tell me which problem is similar with mine? is [https://groups.google.com/forum/#!topic/nunjucks/Li7YeASHYR0](url) ?"}}