docs: protected String getName(String sitePath) {
  
          String name = CmsResource.getName(sitePath);
          if (name.endsWith("/")) {
              name = name.substring(0, name.length() - 1);
          }
          return name;
  
      }