add base template, extend index from base template