|
|
|
|
|
by LeafStorm
5391 days ago
|
|
I have never used Jekyll. I do, however, frequently use nanoc[1] - it takes a bit more effort to set up, but it is far more flexible, because instead of ridiculous configuration files, you are actually writing Ruby code (in a very nice DSL, might I add) that controls how each set of files is compiled. One thing I did with it was create a Web site with recipes on it. The recipe files didn't have any actual content, everything was stored in the metadata. I had the Rules file set up so that they would run the Recipes through a layout that would expand them to HTML (consistently), then that was run through the normal page template. It also used a preprocess rule to generate fresh items "on the fly" that serve as indices for each recipe type. Again, no content - the Rules file is set up so that the artificial items get all their content from a layout before being actually layouted with the site template. [1]: http://nanoc.stoneship.org/ |
|
http://stasis.me