Static Websites with Hugo

A brief tutorial on how to make a static site with Hugo (Just like this one)

Instructions

  1. Install Hugo
    Windows:
winget install Hugo.Hugo.Extended
  1. Create a new site
hugo new site my-site-name
cd my-site-name
git init
  1. Add a theme
git clone https://github.com/hugo-sid/hugo-blog-awesome.git themes/hugo-blog-awesome
echo "theme = 'hugo-blog-awesome'" >> config.toml
  1. Add content and configure the site

  2. Host with github pages

    1. Publish local repo on GitHub
    2. https://github.com/{username}/{repo-name}/settings/pages
      Change source to “GitHub Actions” and select Hugo