Borrow netlify.toml from hugo docs
Alan Pearce alan@alanpearce.eu
Wed, 06 Jun 2018 21:22:12 +0000
1 files 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"