When comparing Metalsmith vs Hugo, the Slant community recommends Hugo for most people. In the question“What are the best static site generators?” Hugo is ranked 2nd while Metalsmith is ranked 14th. The most important reason people chose Hugo is:
Code can be viewed [on GitHub](http://github.com/spf13/hugo).
Ranked in these QuestionsQuestion Ranking
Pro Flexible beyond a static site generator
Because metalsmith is at its core focused on transforming directories of files, it can be used for more than just static site generation, and could be used as a build tool, a documentation generator, or any use that requires file transformations.
Pro Designed around plugins
Everything in metalsmith is a plugin, and it is designed to make it easy to write new ones.
Pro Chaining API
Metalsmith uses a chaining API that's consistent and simple to use:
Metalsmith(__dirname) .use(markdown) .use(templates('handlebars')) .build();
Pro Open-source and free
Code can be viewed on GitHub.
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 Many themes available
Pro Very active community
Pro Single binary - cross platform
Pro Clean workflow
Create your new site, run the Hugo server, edit. Lather, rinse, repeat. Hugo stays out of the way.
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 Single source publishing
Can create PDFs, eBooks, RSS-Feeds, language and market specific Websites from single content folder.
Pro Good documentation
Pro Draft mode
Allows you to see changes in real time.
Pro Easy to add new content types, data files, and taxonomies
Con Small community
The Metalsmith community is still fairly small compared to the more popular options. This results in a lack of learning resources and difficulty finding support from experienced users. However, a slack group has recently been started.
Con Not client enabled API chaining
According to the spec on API chaining, the API request/response need to associate an API object to an corresponding controller/action/uri to be able to validate and handle the request/response and the datasets.
Without that, the consuming client service cannot properly validate or relate the datasets from one to the other. Links have no relational value and the api object creates the relationship between the datasets while maintaining an api/dataset relationship with the corresponding controller/action/uri
As such, the current methodology supported would not be able to be called by the client not supported by the client in a RESTFUL manner