What is GoHugo
Hugo is one of the most popular open-source static site generators. With its amazing speed and flexibility, Hugo makes building websites fun again.
If you want to create a static web site like simple portfolio or landing page you can use Hugo.
Installation
How did I install
I just need to install hugo. Because I already have go.
brew install hugo
Create your static web site
- line say hugo to create new site which is named
quickstart
. - line move in
quickstart
directory. - line initilize of git.
- line is critic. Because we add our themes with this line.
- line we say to hugo’s config file that we want to use
gokarna
theme. - line start to serve static page by hugo.
hugo new site quickstart
cd quickstart
git init
git submodule add https://github.com/526avijitgupta/gokarna.git themes/gokarna
echo "theme = 'gokarna'" >> hugo.toml
hugo server