Live data from Hacker News

Poll: What's your favorite static site generator?

news.ycombinator.com

1–10 of 124 posts

Poll: What's your favorite static site generator?

#1
Lately, I've been testing out different static site generators but it's a sea of alternatives. My favorite so far is Punch but the non-existing support for articles/blog-posts and subfolders makes it not so good...

So, what's your favorite?

(Let me know if I missed someone, poll options are taking from here: https://gist.github.com/4181764)

Re: Poll: What's your favorite static site generator?

#8
nanoc [1]. It takes more effort to set up the basic rules for your site, but it's incredibly powerful. For example, my blog [2] can generate archive pages for my articles by year, month, and tag, with the generation handled entirely in "user space," without any undocumented hacks to the system or extenal pre/postprocessing. Another site I created using nanoc has the ability to take recipes that are specified only in the YAML content metadata, and expand them into full-fledged HTML pages - again, entirely in "user space."

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.

[1] http://nanoc.stoneship.org/

[2] https://bitbucket.org/leafstorm/leafstorm.us/src

Post reply on HN