We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5326015 + 96b7b3d commit 50869baCopy full SHA for 50869ba
scripts/compose.js
@@ -33,11 +33,11 @@ const genFrontMatter = (answers) => {
33
const authorArray = answers.authors.length > 0 ? "'" + answers.authors.join("','") + "'" : ''
34
35
let frontMatter = dedent`---
36
- title: ${answers.title ? answers.title : 'Untitled'}
+ title: "${answers.title ? answers.title : 'Untitled'}"
37
date: '${date}'
38
tags: [${answers.tags ? tags : ''}]
39
draft: ${answers.draft === 'yes' ? true : false}
40
- summary: ${answers.summary ? answers.summary : ' '}
+ summary: "${answers.summary ? answers.summary : ' '}"
41
images: []
42
layout: ${answers.layout}
43
canonicalUrl: ${answers.canonicalUrl}
0 commit comments