Hugo New Site
New site
This step is how to create a new site with hugo. It will have nothing in it at the moment, but will be the basis for where we enter content and styling going forwards.
- Open a window command prompt
- In the command prompt type:
cd c:\hugo\sites
This will change the current directory to c:\hugo\sites. This is the location that we set up earlier to store the sites that we are creating. - In the command prompt type:
hugo new site example.com
This is a hugo command. It will create a new site, in a new directory called “example.com”, which will be created at the current location. - In the command prompt type:
cd example.com
This will change the current directory to be “example.com”. This is the location that we created in the last step to contain the site.
For more information, check out: