Link to category metadata only when API is enabled

By default settings.API is False, and API urls are not included. The url
reverse on the category page will fail. Fix it by showing it
conditionally, exactly how it is done on the video page.