Scaffolding in Eleventy
All of my blogs have been static sites that are generated in a build process and then pushed to some hosting. Each post is simply a markdown page in the folder denoting it's date, so
posts/2020/07/06/scaffolding-in-eleventy.md for this particular post. Each page also has metadata for the title, description, etc...
title: "Scaffolding in Eleventy"
description: "Scaffolding in Eleventy"
tags: [Elventy, static website]
With these things I'm really lazy. I do not want to copy/paste, create folders, etc. Just execute
scaffold posts/2020/07/06/scaffolding-in-eleventy.md and I want to have a premade template where I fill in the content.
The package has reached version
0.0.2 and it autogenerates the file you want, checks if it exists and gives the current datetime to the template. Over time as I use it, I'll probably add more features.