docs: public String getSiteTitle(CmsObject cms, CmsResource resource) throws CmsException {
  
          String title = cms.readPropertyObject(resource, CmsPropertyDefinition.PROPERTY_TITLE, false).getValue();
          if (title == null) {
              title = resource.getRootPath();
          }
          if (resource.getRootPath().equals(getSharedFolder())) {
              title = SHARED_FOLDER_TITLE;
          }
          return title;
      }