text: const { withContent } = require('@parameter1/base-cms-marko-web/middleware');
  const print = require('../templates/content/print');
  const contentQueryFragmentFn = require('../graphql/fragment-factories/content-page');
  
  module.exports = (app) => {
    const { site } = app.locals;
    app.get('/print/content/:id(\\d{8})', withContent({
      template: print,
      queryFragment: contentQueryFragmentFn(site.get('leaders.alias')),
      redirectOnPathMismatch: false,
    }));
  };
  