{"action":"created","issue":{"url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/305","labels_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/305/labels{/name}","comments_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/305/comments","events_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/305/events","html_url":"https://github.com/nickel-org/nickel.rs/issues/305","id":119657410,"number":305,"title":"Chance to get handlebars templating work for nickel?","user":{"login":"sunng87","id":221942,"avatar_url":"https://avatars.githubusercontent.com/u/221942?v=3","gravatar_id":"","url":"https://api.github.com/users/sunng87","html_url":"https://github.com/sunng87","followers_url":"https://api.github.com/users/sunng87/followers","following_url":"https://api.github.com/users/sunng87/following{/other_user}","gists_url":"https://api.github.com/users/sunng87/gists{/gist_id}","starred_url":"https://api.github.com/users/sunng87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunng87/subscriptions","organizations_url":"https://api.github.com/users/sunng87/orgs","repos_url":"https://api.github.com/users/sunng87/repos","events_url":"https://api.github.com/users/sunng87/events{/privacy}","received_events_url":"https://api.github.com/users/sunng87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-01T07:09:18Z","updated_at":"2015-12-02T03:00:45Z","closed_at":null,"body":"I haven't look into nickel much, but it seems the mustach template is hard-coded into the framework because the `render` function on response. \r\n\r\nSo, based on current design, is it possible to use [handlebars](https://github.com/sunng87/handlebars-rust) or any other templating system? "},"comment":{"url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/comments/161163532","html_url":"https://github.com/nickel-org/nickel.rs/issues/305#issuecomment-161163532","issue_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/305","id":161163532,"user":{"login":"sunng87","id":221942,"avatar_url":"https://avatars.githubusercontent.com/u/221942?v=3","gravatar_id":"","url":"https://api.github.com/users/sunng87","html_url":"https://github.com/sunng87","followers_url":"https://api.github.com/users/sunng87/followers","following_url":"https://api.github.com/users/sunng87/following{/other_user}","gists_url":"https://api.github.com/users/sunng87/gists{/gist_id}","starred_url":"https://api.github.com/users/sunng87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunng87/subscriptions","organizations_url":"https://api.github.com/users/sunng87/orgs","repos_url":"https://api.github.com/users/sunng87/repos","events_url":"https://api.github.com/users/sunng87/events{/privacy}","received_events_url":"https://api.github.com/users/sunng87/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T03:00:45Z","updated_at":"2015-12-02T03:00:45Z","body":"One solution is to make templating a middleware and let `render` returns something specific to downstream that templating middlewares will be interested in. Perhaps I will look into this if I got time.\r\n"}}