Adding head link only for HTML requests