Hugo Blog Engine (How to)
my blog is gone again and this is my new blog using hugo blog engine. hugo is static blog generator using mardown syntax as formating. hugo is similar with jekyll but write in golang
i move from medium to wordpress in gke and now i move to gitlab pages.
there is actually story why i using gitlab pages now.
- there is incident with my google accounts.
- this is free of storage since we just pay for the domain.
- this is no different any way. my blog still bad.
why i choose hugo over jekyll or other tools is because i code in golang. and hugo is easy to use not much setup and its faster than jekyll (they claim to be)
How to setup hugo in our local machine
install hugo first in ubuntu
sudo apt-get install hugo
another install please follow this link https://gohugo.io/getting-started/installing/
create hugo project
hugo new site mysite
there is should be a new folder of your site
adding some content
hugo new posts/my-first-post.md
thats will create new content in
start hugo server with
hugo server -D
open your hugo site in
all that step could see in this link https://gohugo.io/getting-started/quick-start/
i will explain more about how we deploy our site using gitlab pages with gitlab CI/CD as integration and delivery pipeline