text: const htmlSitemap = require('@parameter1/base-cms-marko-web-html-sitemap/routes');
  const identityX = require('./identity-x');
  const magazine = require('../components/magazine/routes');
  const nativeX = require('./native-x');
  const printContent = require('./print-content');
  const publicFiles = require('./public-files');
  const redirects = require('./redirects');
  const renderBlock = require('./render-block');
  const search = require('./search');
  
  module.exports = (app, siteConfig) => {
  
    // IdentityX (user routing and app context)
    identityX(app);
  
    // Magazine Routes
    magazine(app);
  
    // NativeX (Story rendering)
    nativeX(app);
  
    // Shared Print Content
    printContent(app);
  
    // Shared Public Files (e.g. ads.txt)
    publicFiles(app);
  
    // Redirects
    redirects(app, siteConfig);
  
    // Remote component/block loader
    renderBlock(app);
  
    // Search routes
    search(app, siteConfig);
  
    // HTML Sitemap
    htmlSitemap(app);
  };
  