[fix #21] make render_template provide default context