update to allow wrapping templates from real app partial used in build.