diff options
author | Alan Pearce | 2018-06-06 21:22:12 +0000 |
---|---|---|
committer | Alan Pearce | 2018-06-06 21:22:12 +0000 |
commit | 31010eea7a9887ef7b243b9b3c20e62526b9df5e (patch) | |
tree | fb1232bf1e733cec1485f83b1009e843e4d462e1 | |
parent | 1a9fb039e2b199a1a09d2bd6d14204775ab621af (diff) | |
download | website-31010eea7a9887ef7b243b9b3c20e62526b9df5e.tar.lz website-31010eea7a9887ef7b243b9b3c20e62526b9df5e.tar.zst website-31010eea7a9887ef7b243b9b3c20e62526b9df5e.zip |
Borrow netlify.toml from hugo docs
-rw-r--r-- | netlify.toml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml index e325c01..0b02993 100644 --- a/netlify.toml +++ b/netlify.toml | |||
@@ -1,3 +1,12 @@ | |||
1 | [build] | ||
2 | publish = "public" | ||
3 | command = "hugo" | ||
4 | |||
5 | [context.production.environment] | ||
6 | HUGO_VERSION = "0.41" | ||
7 | HUGO_ENV = "production" | ||
8 | HUGO_ENABLEGITINFO = "true" | ||
9 | |||
1 | [[redirects]] | 10 | [[redirects]] |
2 | from = "https://alanpearceuk.netlify.com/*" | 11 | from = "https://alanpearceuk.netlify.com/*" |
3 | to = "https://alanpearce.uk/:splat" | 12 | to = "https://alanpearce.uk/:splat" |