Visit notcoding.today to see the result.
Entire workflow is done with built-in fs
package and posthtml
elements.
Create output directories
mkdir -p public/blog
mkdir -p public/css
mkdir -p public/images
Process and host the blog locally
npm start process
npm run host
Watch the src
files and regenerate blog
npm start watch
Outside dependencies listed in package.json
, this expects that you have http-server installed globally.