fromflaskimportFlask,render_template,url_forapp=Flask(__name__)posts=[{'author':'Corey Schafer','title':'Blog Post 1','content':'First post content','date_posted':'April 20, 2018'},{'author':'Jane Doe','title':'Blog Post 2','content':'Second post content','date_posted':'April 21, 2018'}]@app.route("/")@app.route("/home")defhome():returnrender_template('home.html',posts=posts)@app.route("/about")defabout():returnrender_template('about.html',title='About')if__name__=='__main__':app.run(debug=True)