hugo: modify language

- hugo -> Hugo
- lowercase the description
- plain URL
- remove the extension token
- do not use relative references
- modify the buildDraft example to standalone and change the wording slightly
- modify the "watch for changes" wording slightly
coverage
David Haynes 2017-05-25 18:52:55 -04:00 committed by Agniva De Sarker
parent 0dea4539f3
commit 474f188b88
1 changed files with 10 additions and 10 deletions

View File

@ -1,31 +1,31 @@
# hugo # hugo
> Hugo is a Fast and Flexible Static Site Generator. > Hugo is a fast and flexible static site generator.
- Create a new hugo site: - Create a new Hugo site:
`hugo new site {{path/to/site}}` `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 (you may also download one from https://themes.gohugo.io/):
`hugo new theme {{theme_name}}` `hugo new theme {{theme_name}}`
- Create a new page: - Create a new page:
`hugo new {{section_name}}/{{filename}}{{.ext}}` `hugo new {{section_name}}/{{filename}}`
- Build your site to the `./public/` directory: - Build your site to the `./public/` directory:
`hugo` `hugo`
- Build your site to a different destination: - Build your site including pages that are marked as a "draft":
`hugo --buildDrafts`
- Build your site to a given directory:
`hugo --destination {{path/to/destination}}` `hugo --destination {{path/to/destination}}`
- Build your site, start up a webserver to serve it, and watch for changes: - Build your site, start up a webserver to serve it, and automatically reload when pages are edited:
`hugo server` `hugo server`
- Build and serve content marked as draft:
`hugo server --buildDrafts`