Refining new post

This commit is contained in:
Jocelyn Badgley (Twipped) 2020-03-05 10:05:33 -08:00
parent 7771c7aa9d
commit 38f0b38f9f
2 changed files with 6 additions and 5 deletions

View File

@ -4,12 +4,13 @@ id: "${id}"
date: "${date.toISOString()}" date: "${date.toISOString()}"
tags: tags:
- Transgender - Transgender
span: 2
tweets: tweets:
--- ---
{!{ {{import '~/tweet' ids=(array {!{
'TWEETGOESHERE' {{import '~/tweet' ids=(array
) tweets=meta.tweets className="" }} }!} 'TWEETIDGOESHERE'
) tweets=meta.tweets className="" }}
}!}
`; `;

View File

@ -34,5 +34,5 @@ module.exports = exports = async function newPost () {
await fs.writeFile(target, contents); await fs.writeFile(target, contents);
log('Created new post at posts/' + fname); log('Created new post at ' + target);
}; };