'use strict'

module.exports = (document) => {
  const doc = {
    title: document.title,
    offTitle: document.offTitle,
    type: document.type,
    document: document.documentPath,
    distribution: document.distribution
  }
  if (document.distribution) {
    doc.filsti = document.documentPath
    doc.mimetype = 'application/pdf'
  }
  return doc
}

@@ -172,17 +172,21 @@
 document
-P
+Filep
 ath,%0A   
@@ -295,9 +295,13 @@
 ment
-P
+Filep
 ath%0A

Update documents-info.js