Replace hardcoded links by {% url %}