Borrow netlify.toml from hugo docs
1 file changed, 9 insertions(+), 0 deletions(-)
jump to
M netlify.toml → netlify.toml
@@ -1,3 +1,12 @@ +[build] + publish = "public" + command = "hugo" + +[context.production.environment] + HUGO_VERSION = "0.41" + HUGO_ENV = "production" + HUGO_ENABLEGITINFO = "true" + [[redirects]] from = "https://alanpearceuk.netlify.com/*" to = "https://alanpearce.uk/:splat"