build(aio): content documents should have a `contents` field

This commit is contained in:
Peter Bacon Darwin 2017-03-01 11:23:12 +00:00 committed by Igor Minar
parent c2e672cd1c
commit 3883b736c0
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ module.exports = function convertToJsonProcessor() {
if (docTypes.indexOf(doc.docType) !== -1) { if (docTypes.indexOf(doc.docType) !== -1) {
const output = { const output = {
title: doc.title || doc.name, title: doc.title || doc.name,
content: doc.renderedContent contents: doc.renderedContent
}; };
doc.renderedContent = JSON.stringify(output, null, 2); doc.renderedContent = JSON.stringify(output, null, 2);
} }