Skip to content
Will Pimblett edited this page Dec 15, 2019 · 4 revisions

Hugo is a popular static site generator written in Go.

Basic Usage

First, generate your site using hugo. By default it stores the built output in a subfolder public/, but this can be configured using the publishDir variable in hugo's config file. All hugo options are outlined here: Hugo Configuration

Assuming you published to the public folder, you can just run htmltest public to run over your built source, but if you want to configure htmltest further, it will need its own config file.

A .htmltest.yml in the root of your project with the following will get you going.

DirectoryPath: public

All configuration options are outlined on the site's main git page here

Articles

Clone this wiki locally