{"action":"created","issue":{"url":"https://api.github.com/repos/sentsin/laytpl/issues/12","repository_url":"https://api.github.com/repos/sentsin/laytpl","labels_url":"https://api.github.com/repos/sentsin/laytpl/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/sentsin/laytpl/issues/12/comments","events_url":"https://api.github.com/repos/sentsin/laytpl/issues/12/events","html_url":"https://github.com/sentsin/laytpl/issues/12","id":147349898,"number":12,"title":"文档需要标明仔细的地方","user":{"login":"52fhy","id":8773263,"avatar_url":"https://avatars.githubusercontent.com/u/8773263?v=3","gravatar_id":"","url":"https://api.github.com/users/52fhy","html_url":"https://github.com/52fhy","followers_url":"https://api.github.com/users/52fhy/followers","following_url":"https://api.github.com/users/52fhy/following{/other_user}","gists_url":"https://api.github.com/users/52fhy/gists{/gist_id}","starred_url":"https://api.github.com/users/52fhy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/52fhy/subscriptions","organizations_url":"https://api.github.com/users/52fhy/orgs","repos_url":"https://api.github.com/users/52fhy/repos","events_url":"https://api.github.com/users/52fhy/events{/privacy}","received_events_url":"https://api.github.com/users/52fhy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-11T08:16:47Z","updated_at":"2016-04-11T08:18:11Z","closed_at":null,"body":"使用laytpl 过程中，发现不能使用if语句，对着文档看了好几遍，后来才发现，`#`号要紧贴着左边的花括号`{{`，中间不能有空格。这点希望文档里能特别标明。"},"comment":{"url":"https://api.github.com/repos/sentsin/laytpl/issues/comments/208220676","html_url":"https://github.com/sentsin/laytpl/issues/12#issuecomment-208220676","issue_url":"https://api.github.com/repos/sentsin/laytpl/issues/12","id":208220676,"user":{"login":"52fhy","id":8773263,"avatar_url":"https://avatars.githubusercontent.com/u/8773263?v=3","gravatar_id":"","url":"https://api.github.com/users/52fhy","html_url":"https://github.com/52fhy","followers_url":"https://api.github.com/users/52fhy/followers","following_url":"https://api.github.com/users/52fhy/following{/other_user}","gists_url":"https://api.github.com/users/52fhy/gists{/gist_id}","starred_url":"https://api.github.com/users/52fhy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/52fhy/subscriptions","organizations_url":"https://api.github.com/users/52fhy/orgs","repos_url":"https://api.github.com/users/52fhy/repos","events_url":"https://api.github.com/users/52fhy/events{/privacy}","received_events_url":"https://api.github.com/users/52fhy/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T08:18:11Z","updated_at":"2016-04-11T08:18:11Z","body":"`if`示例：\r\n```\r\n{{# if(d.flag == 1) { }}\r\n\t<span class=\"tab-label \">下架商品</span>\r\n{{# }else{ }}\r\n\t<span class=\"tab-label \">上架商品</span>\r\n{{# } }}\r\n```"}}