Skip to content

hugo

# build the website on the current folder
hugo # compile to `build/`

new

# New content (uses default archetype)
hugo new "foo.md" # creates content/foo.md

# Site boilerplate
hugo new site <site-name>

# Theme
hugo new theme <theme-name>

# Content
hugo new content "<sectionname>/<filename>.<format>"

server

# Serve
hugo server

#
hugo server --buildDrafts

# Force complete refresh
hugo server --noHTTPCache