code: func templateBaseName(typ templateType, name string) string {
  	name = strings.TrimPrefix(name, internalPathPrefix)
  	switch typ {
  	case templateShortcode:
  		return strings.TrimPrefix(name, shortcodesPathPrefix)
  	default:
  		panic("not implemented")
  	}
  
  }
docs: // resolves _internal/shortcodes/param.html => param.html etc.