When comparing Hugo vs Middleman, the Slant community recommends Hugo for most people. In the question“What are the best static site generators?” Hugo is ranked 2nd while Middleman is ranked 7th. The most important reason people chose Hugo is:
Code can be viewed [on GitHub](http://github.com/spf13/hugo).
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Open-source and free
Code can be viewed on GitHub.
Pro Fast
Pro No dependencies
All other SSGs expect you to have a full toolchain setup for their language. Hugo is written in Go and distributed as an executable for unix, linux, windows and mac. Just download and run.
Pro Clean workflow
Create your new site, run the Hugo server, edit. Lather, rinse, repeat. Hugo stays out of the way.
Pro Flexible
Pro Good documentation
Pro Many themes available
Pro Draft mode
Allows you to see changes in real time.
Pro Single binary - cross platform
Pro Single source publishing
Can create PDFs, eBooks, RSS-Feeds, language and market specific Websites from single content folder.
Pro Great multipurpose development platform
We are using Hugo as the base-framework for a full blown knowledge management system, idea-management and inhouse brainstorming tool. Hugo source-code is well structures and comes with top components out of the box, that makes every solution built on this framework incredible fast and scalable accross platforms and corporate silos! Hugo - when being used as a framework is a game-changer that puts Sharepoint, Wordpress and Co. back to the shelf.
Pro Very active community
Pro Easy to add new content types, data files, and taxonomies
Pro Built in minification, compression, and cache busting
Minification and compression are as easy as setting a few configuration options, and unique asset hashes are available to allow you to invalidate the cache of files that change regularly.
Pro Support for a variety of templating languages and preprocessors
Middleman supports lots of compiled languages, such as Less, Markdown, Textile, CoffeeScript, Stylus and more.
Pro Extensible and flexible
Middleman has a resources page full of official and community extensions.
Pro External pipeline management with Webpack
Replace your Gulp, Grunt, Bower configs
Pro Embraces Rails conventions
Middleman follows established conventions so if you know rails, you can easily pick up middleman.
Pro Easy deployment options
Cons
Con No tutorial on how to create a theme from scratch
Con Too much magic happens
For new users it is hard to understand what is going on and why.
Con A little more complicated than other static site generators
Middleman is a big piece of software, it's not simply a static blog generator. Because of all the functionality and flexibility it offers it can be a little more complex than other static site generators and a little harder to learn all of its bells and whistles.