mirror of https://github.com/CrimsonTome/tldr.git
parent
474f188b88
commit
5ea8b54d90
|
@ -6,7 +6,7 @@
|
|||
|
||||
`hugo new site {{path/to/site}}`
|
||||
|
||||
- Create a new Hugo theme (you may also download one from https://themes.gohugo.io/):
|
||||
- Create a new Hugo theme (themes may also be downloaded from https://themes.gohugo.io/):
|
||||
|
||||
`hugo new theme {{theme_name}}`
|
||||
|
||||
|
@ -14,18 +14,18 @@
|
|||
|
||||
`hugo new {{section_name}}/{{filename}}`
|
||||
|
||||
- Build your site to the `./public/` directory:
|
||||
- Build a site to the `./public/` directory:
|
||||
|
||||
`hugo`
|
||||
|
||||
- Build your site including pages that are marked as a "draft":
|
||||
- Build a site including pages that are marked as a "draft":
|
||||
|
||||
`hugo --buildDrafts`
|
||||
|
||||
- Build your site to a given directory:
|
||||
- Build a site to a given directory:
|
||||
|
||||
`hugo --destination {{path/to/destination}}`
|
||||
|
||||
- Build your site, start up a webserver to serve it, and automatically reload when pages are edited:
|
||||
- Build a site, start up a webserver to serve it, and automatically reload when pages are edited:
|
||||
|
||||
`hugo server`
|
||||
|
|
Loading…
Reference in New Issue