code for a personal blog with python-flask