title: How to pass multiple templates to flask.render_template()
body: <p>I'm trying to deploy a flask app and I want a flask.render_template() method passed with a list of html files. Here I see it's eligible. <a href="http://flask.pocoo.org/docs/0.12/api/#flask.render_template" rel="nofollow noreferrer">http://flask.pocoo.org/docs/0.12/api/#flask.render_template</a></p>
  
  <p>I'm trying with this code</p>
  
  <pre><code>from flask import Flask, render_template
  app = Flask(__name__)
  app.debug = True
  
  @app.route('/')
  def hello():
      templs = ["_header.html", "_footer.html"]
      return render_template(templs)
  
  if __name__== '__main__':
      app.run()
  </code></pre>
  
  <p>But actually server returns only the first template from the list.
  How to iterate though this list in order to render all templates from the list?</p>
  
  <p>Thanks,
  Alex</p>