Skip to content

Commit 14c689c

Browse files
committed
Improved post template
1 parent c87b0a6 commit 14c689c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

templates.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
const postTemplate = (title, date, passthroughUrl, content) => {
22
const post =
33
`---
4-
title: ${title}
5-
date: "${date}"${passthroughUrl ? `passthroughUrl: ${passthroughUrl}` : ''}
4+
title: "${title}"
5+
date: "${date}"${passthroughUrl ? `
6+
passthroughUrl: ${passthroughUrl}` : ''}
67
---
78
89
${content}`

0 commit comments

Comments
 (0)