Add templates to secondary pages