So, what's your favorite?
(Let me know if I missed someone, poll options are taking from here: https://gist.github.com/4181764)
1–10 of 124 posts
So, what's your favorite?
(Let me know if I missed someone, poll options are taking from here: https://gist.github.com/4181764)
Looks like your list is basically Ruby, Node and PHP, excluding all the Python and other language options.
In general, I find the ability to use code to control the site's generation very refreshing - the static site generators I had used beforehand (for example, Webgen) rely on configuration files to determine the rendering process, which for sufficiently complicated sites can be hard to trace. By contrast, nanoc's Rules file allows you to see and control exactly how a given file will be processed.
The code is also very well-written (it resists using the hard-to-follow Ruby magic that Rails and company tend to use), although were I Denis Defreyne, I would have written some sort of plugin manager by now.
Simple example:
for f in `ls *.php`; do wget http://myexample.com/$f -O $f.html; done;
rename 's/\.php\.html/.html/' *
sed -i 's/\.php/.html/g' *.html