mitsuhiko/flask — pull request #409 by dmishe (2012-02-24 06:49:18+00:00)
Title: render_template using a list of templates

This would be very handy for dynamic template selection. For example i would override _some_ templates based on type of content rendered.

render_template(['%s.html % type, 'index.html'])