How to create a new Hugo site?
-
Install Hugo following the oficial docs.
-
Choose a theme here. For example, the theme of this website is Learn.
-
Create a new hugo project with:
|
|
- Init git repo.
|
|
- Copy the zip of the theme choosed in the new folder
themesor add the submodule.
|
|
Or add the submodule:
|
|
- Edit configuration file
config.tomland add:
|
|
- Run the website, it will be available at http://localhost:1313/.
|
|