Re:Poll: What's your favorite static site generator?
by jamesbritt on Saturday December 01, 2012 @05:41PM
(#4859281)
Another Webby user here. I forked the repo when I learned it was no longer maintained and I got tired of patching string.rb with "#encoding: UTF-8" whenever I was installing the gem someplace. :)
I tried something else at some point; I forget what, but it was more complicated, so I stuck with Webby.
Extending it is just easy. I've been using it to create mobi and epub files from Textile, as well as plain old Web sites. I think I use it for pretty much every site I have that isn't hitting a database, and even with those I probably have a static section built using Webby.
Branch with ruby 1.9 fixes is at https://github.com/namelessjon/webby
It is not under active development, but is for me feature-complete, stable and incredibly flexible. Advantages are:
- pure ruby (no liquid templates needed)
- each page has its own subdirectory where one can put images, scripts etc; your article becomes a 'package'.
- chained templating filters; you can do erb->markdown->your custom filter with minimal effort.
- mostly implemented by extending rake tasks, no extra api to learn and if you know rake you can continue adding features forever.