When comparing Nanoc vs Sitegen, the Slant community recommends Nanoc for most people. In the question“What are the best static site generators?” Nanoc is ranked 8th while Sitegen is ranked 32nd. The most important reason people chose Nanoc is:
Nanoc is a good choice if you need to support a site with a more complex structure than a simple blog. Nanoc is more agnostic to the types of pages you have, and allows you to do finer tuned refinements like customizing the URL structure.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Flexibly built
Nanoc is a good choice if you need to support a site with a more complex structure than a simple blog. Nanoc is more agnostic to the types of pages you have, and allows you to do finer tuned refinements like customizing the URL structure.
Pro Extensibile
Nanoc has a modular architecture which makes it easier to incorporate plugins and functionality from other projects as well as extend functionality.
Pro Helps you create multilingual sites
Nanoc takes multilingual sites into consideration and has features to make translations easier to implement.
Pro Unit testing integration
Nanoc has a check command to run tests against your site and make sure it meets requirements you define.
There are built in checks to validate HTML and CSS, as well as validating internal and external links.
Pro Works well with compile to languages
Nanoc is friendly with different CSS and HTML preprocessors, so you can easily use SASS, LESS, HAML, Markdown and more.
Pro Easy configuration
You configure the site with a site.moon file. It is written in MoonScript.
Pro Powerful templating
It uses the cosmo templating language. It enables you to inject stuff into the page as it is being generated.
Pro Extendable through plugins
It has a plugin system. It comes bundled with some plugins already, like syntax highlighting. You can write your own plugins.
Pro HTML and Markdown
Pages and templates can be written in HTML or Markdown
Pro Easy
It's pretty easy to get started with.