Instead of using send_static_file, I want to use something like html('<h1>content</h1>')
, sort of like jsonify.
@app.route('/incorrect_pass')
def incorrect_pass():
return html('Incorrect password. <a href="/">Go back?</a>')
Is what I want to do.