jlord / balrog

Learn by making presents: A Static Site Generator (WIP)
Other
86 stars 14 forks source link

Build from a `/content` directory #10

Closed brianloveswords closed 10 years ago

brianloveswords commented 10 years ago

OKAY, this contains a ton of stuff! And I wrote it a while ago, so I have to remember everything I did

/lib/

I broke the site generation into multiple steps:

A whole bunch of tests for each of the files/steps in the pipeline!

/bin/

A balrog binary which runs generate-site-dir.js with reasonable defaults. This can be run in any folder that has a content directory to generate a site directory. Also expects templates directory, and (optionally) partials directory.

jlord commented 10 years ago

YES! This answers so many of the parts I was getting tangled up in. Also, adding you to the repo because, duh.