def load_pages_json(pages_json_path)
      basename = File.basename pages_json_path
      rel_dir = File.dirname pages_json_path
      rel_dir = rel_dir[self.source.size..rel_dir.size]
      page = ::JekyllPagesApi::PageWithoutAFile.new(
        self, self.source, rel_dir, basename)
      page.output = File.read(pages_json_path)
      self.pages << page
    end
def load_pages_json(pages_json_path)
      basename = File.basename pages_json_path
      rel_dir = File.dirname pages_json_path
      rel_dir = rel_dir[self.source.size..rel_dir.size]
      page = ::JekyllPagesApi::PageWithoutAFile.new(
        self, self.source, rel_dir, basename)
      page.output = File.read(pages_json_path)
      self.pages << page
    end
Adds an existing pages.json file (generated by jekyll_pages_api) to
 this site's `pages` collection.