Hugo

Hugo Setup

Hugo is a very well-designed static site generator. The user experience is way better than what I have tried so far. One of the good things about Hugo is that the config file is very clean! Also, the installation is easy, version controlling it is quite simple, and it’s easy to share the source code and let people create post PR!

»

Hugo Usage

Useful Commands hugo help: get Hugo documentation! hugo: generates the site to the destination folder hugo --cleanDestinationDir: remove files from destination not found in static directories Creating a New Chapter hugo new --kind chapter [path to file]/_index.md Creating a New Article Creater your own archetypes first! hugo new [path to post]/[post name].md: create a new post The one with the lower weight shows up first Content Organization All posts are contained in the content folder The folder hierarchy is the shape of the website »