Hugo Commands

Hugo commands

  • create a article
1
$ hugo new post/first.md
  • start hugo server
1
2
$ hugo server # simple debug
$ hugo server --theme=Mainroad --buildDrafts # debug with theme
  • watch environment info
1
$ hugo env
Built with Hugo
Theme Stack designed by Jimmy
visitors: total visits: time(s) reads: time(s)