notebook/IT/Hugo.md

13 lines
386 B
Markdown
Raw Normal View History

2021-04-20 18:56:58 +00:00
# hugo
2020-11-26 17:38:25 +00:00
hugo is a static website generator
## Usefull command
- `hugo server -b localhost/starter` launch a test server on your local machine
2021-04-20 18:56:58 +00:00
- -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
2020-11-26 17:38:25 +00:00
- `hugo` compile site