add subtemplate to repo