Resources

Start dev server

$ hugo server

Build

$ hugo

Recommended in the Hugo docs for a deploy:

$ hugo --gc --minify
  • --minify minify any supported output format (HTML, XML etc.)
  • --gc enable to run some cleanup tasks (remove unused cache files) after the build

Debug with:

  • v, --verbose verbose output
  • --verboseLog verbose logging

Import Jekyll

From doc.

$ hugo import jekyll JEKYLL_ROOT OUT_PATH