-
Notifications
You must be signed in to change notification settings - Fork 57
Using With Hugo
Will Pimblett edited this page Dec 15, 2019
·
4 revisions
Hugo is a popular static site generator written in Go.
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: publicAll configuration options are outlined on the site's main git page here