doc add inject to template context