Puts content in a template part.