Metasite apply template