View It: Create a Basic Hugo Website
Sources: Create a Basic Hugo Website
Last Mod: 2024-06-10 21:57:25 +0200 +0200

Create a Basic Hugo Website

In the previous chapter we generated a Bare Metal Website. Now we will turn that into a more Hugo like site by adding common configuration and layout templates. This will give you a good starter for own Hugo projects from Scratch. chapters.

The config file

The minimal Hugo configuration as described in Configure Hugo contains three attributes:

Putting that altogether, including the setting from previous chapter, we get:

# deploy to root
baseURL = "https://www.example.com/"
# could use "en-US" here as well
languageCode = "en"
# Website title
title = "Basic Hugo Website"

The Lay