notebook/IT/hugo.md
2020-11-26 18:38:25 +01:00

13 lines
398 B
Markdown

## hugo
hugo is a static website generator
## Usefull command
- `hugo server -b localhost/starter` launch a test server on your local machine
- -b is for baseURL option depend to configuration
- you can add -t with theme name if you have few theme installed
- `hugo new site .` create a new site skeleton
- `hugo new test.md ` create a new file in content folder
- `hugo` compile site