Fix relative links; move /img to /static/img because of Flask.