Setting Hugo Version for Netlify

After deploying my blog via Netlify I noticed some pieces were missing. Turns out I needed to tell Netlify which version of Hugo to use during the build.

Adding the following to the netlify.toml file was all it took.

1
2
[context.production.environment]
  HUGO_VERSION = "0.23"