{"action":"created","issue":{"url":"https://api.github.com/repos/spf13/hugo/issues/3177","repository_url":"https://api.github.com/repos/spf13/hugo","labels_url":"https://api.github.com/repos/spf13/hugo/issues/3177/labels{/name}","comments_url":"https://api.github.com/repos/spf13/hugo/issues/3177/comments","events_url":"https://api.github.com/repos/spf13/hugo/issues/3177/events","html_url":"https://github.com/spf13/hugo/pull/3177","id":213968779,"number":3177,"title":"tpl: Add namespaced template functions","user":{"login":"moorereason","id":131056,"avatar_url":"https://avatars2.githubusercontent.com/u/131056?v=3","gravatar_id":"","url":"https://api.github.com/users/moorereason","html_url":"https://github.com/moorereason","followers_url":"https://api.github.com/users/moorereason/followers","following_url":"https://api.github.com/users/moorereason/following{/other_user}","gists_url":"https://api.github.com/users/moorereason/gists{/gist_id}","starred_url":"https://api.github.com/users/moorereason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moorereason/subscriptions","organizations_url":"https://api.github.com/users/moorereason/orgs","repos_url":"https://api.github.com/users/moorereason/repos","events_url":"https://api.github.com/users/moorereason/events{/privacy}","received_events_url":"https://api.github.com/users/moorereason/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-03-14T04:56:36Z","updated_at":"2017-04-27T18:42:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/spf13/hugo/pulls/3177","html_url":"https://github.com/spf13/hugo/pull/3177","diff_url":"https://github.com/spf13/hugo/pull/3177.diff","patch_url":"https://github.com/spf13/hugo/pull/3177.patch"},"body":"This commit adds a `tpl/strings` package that provides a set of standalone\r\nand namespaced template functions.  It's not complete, but it\r\ndemonstrates how we might implement namespacing.\r\n\r\nThe standalone funcs are useful for replacing existing functions without\r\nneeding to instantiate a Namespace object.  Not sure I'm sold on this\r\napproach.  Open to suggestions.\r\n\r\nTODO:\r\n- [x] `apply` should support a namespaced funcMap\r\n"},"comment":{"url":"https://api.github.com/repos/spf13/hugo/issues/comments/297803351","html_url":"https://github.com/spf13/hugo/pull/3177#issuecomment-297803351","issue_url":"https://api.github.com/repos/spf13/hugo/issues/3177","id":297803351,"user":{"login":"bep","id":394382,"avatar_url":"https://avatars2.githubusercontent.com/u/394382?v=3","gravatar_id":"","url":"https://api.github.com/users/bep","html_url":"https://github.com/bep","followers_url":"https://api.github.com/users/bep/followers","following_url":"https://api.github.com/users/bep/following{/other_user}","gists_url":"https://api.github.com/users/bep/gists{/gist_id}","starred_url":"https://api.github.com/users/bep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bep/subscriptions","organizations_url":"https://api.github.com/users/bep/orgs","repos_url":"https://api.github.com/users/bep/repos","events_url":"https://api.github.com/users/bep/events{/privacy}","received_events_url":"https://api.github.com/users/bep/received_events","type":"User","site_admin":false},"created_at":"2017-04-27T18:42:22Z","updated_at":"2017-04-27T18:42:22Z","body":"Yes, that is fine. That would be a small change compared to this."}}
{"actor":{"display_login":"bep"}}