move meta and terms to template tags