alexandrutopliceanu.ro

gohugo.io cheatsheet

  1. hugo new post/<name-of-post>.md - add a new draft blog post.
  2. hugo undraft post<name-of-post>.md
  3. hugo server --bind=0.0.0.0 --baseURL=http://vm:1313/ - compile and start a static http server in development.
  4. hugo - produces the static content