updated app.py to have links that go to detail.html