Run es.py from app.py, get rid of templating error in post.html