store template name in the global context