Closed
Description
First of all let me start of with saying what an amazing starter template this is. I've set it up with docker and deployed it on my own server. It was a breeze, so good job!
Just now i wanted to upload a new version of my site and the build started failing. Next to that the compose file does not generate the correct post file.
Steps to reproduce
node ./scripts/compose.js "My fancy title" md
- Generated
my-fancy title.md
(notice the first dash is only present
After editing the post title to be kebab case again, writing the actual post and having thedraft set to true
i wanted to build so i rannpm run build
- That resulted in
TypeError: Cannot read property 'date' of undefined
Whenever i switched the draft to false
and ran npm run build
again, all things were fine again.
Metadata
Metadata
Assignees
Labels
No labels