1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 06:18:17 +01:00
tldr/pages/common/hugo.md
David Haynes 5ea8b54d90 hugo: omit subject
- Remove uses of "your" and "you"
2017-05-26 20:02:52 +05:30

646 B

hugo

Hugo is a fast and flexible static site generator.

  • Create a new Hugo site:

hugo new site {{path/to/site}}

hugo new theme {{theme_name}}

  • Create a new page:

hugo new {{section_name}}/{{filename}}

  • Build a site to the ./public/ directory:

hugo

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

hugo --buildDrafts

  • Build a site to a given directory:

hugo --destination {{path/to/destination}}

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

hugo server