code: protected function fetchTemplate(Page $page)
      {
          $pageAttributes = $page->getPageAttributes();
  
          return sprintf('%s/Resources/views/%s.html.twig', $this->configuration->theme(), $pageAttributes["template"]);
      }
docs: Returns the template to render
  @param \RedKiteCms\FilesystemEntity\Page $page
  
  @return string