Creating a new website

Creating a new website

To create a website in HUGO, first initialise the project in your target directory with a command (this will create a new directory for the website files):

hugo new project [name]

Next, add a theme, either by copying the folder file directly, or with git:

git submodule add [url] themes/[theme name]

After doing so, you need to update the config file, especially with the new theme name. Thus you can add the line theme = [theme name] at the end of the config file.