notebook/IT/hugo.md
vincent f7db49b554
All checks were successful
continuous-integration/drone/push Build is passing
correct markdown syntax
2021-04-20 21:01:21 +02:00

13 lines
386 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