docs: public CmsDetailPageInfo getMainDetailPage(String type) {
  
          List<CmsDetailPageInfo> detailPages = getDetailPagesForType(type);
          if ((detailPages == null) || detailPages.isEmpty()) {
              return null;
          }
          return detailPages.get(0);
      }