Providing templates with external context of resources.