hugo
Template-based static site generator. Uses modules, components, and themes.
hugo new site {path/to/site}
- Create a new Hugo theme (themes may also be downloaded from https://themes.gohugo.io/):
hugo new theme {theme_name}
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
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).