hugo

hugo

TLDR

Create a new Hugo site

>_ hugo new site [path/to/site]
copy

Create a new Hugo theme (themes may also be downloaded from https://themes.gohugo.io/)

>_ hugo new theme [theme_name]
copy

Create a new page

>_ hugo new [section_name]/[filename]
copy

Build a site to the ./public/ directory

>_ hugo
copy

Build a site including pages that are marked as a "draft"

>_ hugo --buildDrafts
copy

Build a site to a given directory

>_ hugo --destination [path/to/destination]
copy

Build a site, start up a webserver to serve it, and automatically reload when pages are edited

>_ hugo server
copy

Copied to clipboard
free 100$ digital ocean credit