To create a project
-
open terminal and use the command
hugo new site projectname
-
after creating a hugo site locate the file by "cd filename"
And use the command
hugo server
-
Now since the server is running we can see a blank page.
-
Select a template from Hugo template
-
after selecting go to themes by
cd themes
-
Clone the repo using
git clone ""
For example the theme i have use here is soho
To clone the theme
git clone https://github.com/alexandrevicenzi/soho.git
Now for configuring the theme
-
go to config.toml and add
theme="theme_name"
To create a post
hugo new post/post_name