code: protected function configureRendererOptions(Page $page)
      {
          $params = parent::configureRendererOptions($page);
  
          $params["commands"] = $this->configuration->commands();
          $params["template"] = $this->fetchTemplate($page);
          $params["is_theme"] = $this->configuration->isTheme() ? 'on' : 'off';
  
          $request = $this->options["request"];
          $seoDir = $this->configuration->pagesDir() . '/' . $request->get('page') . '/' . $request->get(
                  '_locale'
              ) . '_' . $request->get('country');
          $seoFileName = $this->options["username"];
          if (null === $seoFileName) {
              $seoFileName = "seo";
          }
          $seoFile = sprintf('%s/%s.json', $seoDir, $seoFileName);
          $params["seo_data"] = file_get_contents($seoFile);
          $publishedSeoFile = sprintf('%s/seo.json', $seoDir);
          $params["page_published"] = file_exists($publishedSeoFile) ? "1" : "0";
  
          return $params;
      }
docs: Configures the backend options
  @param \RedKiteCms\FilesystemEntity\Page $page
  
  @return array