diff --git a/build/_post-template.js b/build/_post-template.js index 68a7494..cb0c3c8 100644 --- a/build/_post-template.js +++ b/build/_post-template.js @@ -4,12 +4,13 @@ id: "${id}" date: "${date.toISOString()}" tags: - Transgender -span: 2 tweets: --- -{!{ {{import '~/tweet' ids=(array - 'TWEETGOESHERE' -) tweets=meta.tweets className="" }} }!} +{!{ + {{import '~/tweet' ids=(array + 'TWEETIDGOESHERE' + ) tweets=meta.tweets className="" }} +}!} `; diff --git a/build/new-post.js b/build/new-post.js index 7ddb891..e50dd37 100644 --- a/build/new-post.js +++ b/build/new-post.js @@ -34,5 +34,5 @@ module.exports = exports = async function newPost () { await fs.writeFile(target, contents); - log('Created new post at posts/' + fname); + log('Created new post at ' + target); };