Subsite aware template