{"action":"created","issue":{"url":"https://api.github.com/repos/mholt/caddy/issues/1035","repository_url":"https://api.github.com/repos/mholt/caddy","labels_url":"https://api.github.com/repos/mholt/caddy/issues/1035/labels{/name}","comments_url":"https://api.github.com/repos/mholt/caddy/issues/1035/comments","events_url":"https://api.github.com/repos/mholt/caddy/issues/1035/events","html_url":"https://github.com/mholt/caddy/pull/1035","id":171076206,"number":1035,"title":"Added support for environment variables to 'templates' module.","user":{"login":"slightfoot","id":906564,"avatar_url":"https://avatars.githubusercontent.com/u/906564?v=3","gravatar_id":"","url":"https://api.github.com/users/slightfoot","html_url":"https://github.com/slightfoot","followers_url":"https://api.github.com/users/slightfoot/followers","following_url":"https://api.github.com/users/slightfoot/following{/other_user}","gists_url":"https://api.github.com/users/slightfoot/gists{/gist_id}","starred_url":"https://api.github.com/users/slightfoot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slightfoot/subscriptions","organizations_url":"https://api.github.com/users/slightfoot/orgs","repos_url":"https://api.github.com/users/slightfoot/repos","events_url":"https://api.github.com/users/slightfoot/events{/privacy}","received_events_url":"https://api.github.com/users/slightfoot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mholt/caddy/labels/under%20review","name":"under review","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-14T20:11:10Z","updated_at":"2016-08-14T23:09:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mholt/caddy/pulls/1035","html_url":"https://github.com/mholt/caddy/pull/1035","diff_url":"https://github.com/mholt/caddy/pull/1035.diff","patch_url":"https://github.com/mholt/caddy/pull/1035.patch"},"body":"Feature request from [forum post](https://forum.caddyserver.com/t/environment-variables-in-templates/321)\r\n* Environment variables in templates work as:\r\n\r\n   `{.Env.NAME}` and for debugging you can do `{.PrintEnv}` to get them all with new-line breaks.\r\n\r\nIncludes test cases."},"comment":{"url":"https://api.github.com/repos/mholt/caddy/issues/comments/239703685","html_url":"https://github.com/mholt/caddy/pull/1035#issuecomment-239703685","issue_url":"https://api.github.com/repos/mholt/caddy/issues/1035","id":239703685,"user":{"login":"slightfoot","id":906564,"avatar_url":"https://avatars.githubusercontent.com/u/906564?v=3","gravatar_id":"","url":"https://api.github.com/users/slightfoot","html_url":"https://github.com/slightfoot","followers_url":"https://api.github.com/users/slightfoot/followers","following_url":"https://api.github.com/users/slightfoot/following{/other_user}","gists_url":"https://api.github.com/users/slightfoot/gists{/gist_id}","starred_url":"https://api.github.com/users/slightfoot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slightfoot/subscriptions","organizations_url":"https://api.github.com/users/slightfoot/orgs","repos_url":"https://api.github.com/users/slightfoot/repos","events_url":"https://api.github.com/users/slightfoot/events{/privacy}","received_events_url":"https://api.github.com/users/slightfoot/received_events","type":"User","site_admin":false},"created_at":"2016-08-14T23:09:51Z","updated_at":"2016-08-14T23:09:51Z","body":"Reverted changes to the replacer. I thought their was already that feature, but I couldn't locate it in the docs or code. I would have liked to also have updated the docs, are they in a repo?"}}
{"actor":{"display_login":"slightfoot"}}