Use Flask's url_for(..) everywhere.