url_for revised for catalog templates