use slug instead of id for links