docs: function transform(file, enc, cb, opts) {
        if (file.isNull()) {
          cb(null, file);
        }
  
        if (file.isStream()) {
          cb(new PluginError('base-apps-router', 'Streams not supported.'));
        }
  
        if (file.isBuffer()) {
          var frontMatter = fm(file.contents.toString());
          if (frontMatter.frontmatter) {
            frontMatter.attributes.path = file.path;
            router.addRoute(frontMatter.attributes);
            file.contents = new Buffer(frontMatter.body);
          }
          cb(null, file);
        }
      }