all repos — homestead @ c811d0bc079c6afed6272508ee00fb63af9b32e2

Code for my website

Borrow netlify.toml from hugo docs

Alan Pearce
commit

c811d0bc079c6afed6272508ee00fb63af9b32e2

parent

139db74f5d6070dd3f640daf2f1e49ed723c9ec1

1 file changed, 9 insertions(+), 0 deletions(-)

jump to
M netlify.tomlnetlify.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"