App Platform Hugo Buildpack

Hugo

Detection

A Hugo app is detected based on the existence of one of the following files at the root directory of your source code:

config.toml
config.yaml
config.json

Customization

Hugo Version

You can customize the default Hugo version installed with the HUGO_VERSION environment variable. Just set the value to one of the valid releases that can be found in the upstream Hugo repository.

HUGO_VERSION=0.82.0

Hugo Extended

To use Hugo Extended, set an environment variable named HUGO_EXTENDED to 1.

HUGO_EXTENDED=1