diff options
author | budparr <budparr@gmail.com> | 2020-01-23 16:07:44 +0300 |
---|---|---|
committer | budparr <budparr@gmail.com> | 2020-01-23 16:07:44 +0300 |
commit | 7b56ad6162229bd8b80f49a78afc24d656780063 (patch) | |
tree | 16d1f5d76f1d72a4ed5af3c03311bf307c7014c8 | |
parent | 841aeaa330e5b61265eea4539c6683156b387fab (diff) |
Add netlify config
This file causes Netlify to build with the current latest Hugo and gives users some control over their builds. Netlify's default build is earlier than what this theme requires.
-rw-r--r-- | netlify.toml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..2f109d9 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,14 @@ +[build] +publish = "public" +command = "hugo --gc --minify" + + +[build.environment] +HUGO_VERSION = "0.62.2" + + + + +# This is a starter template for Netlify builds. See the following links for more: +# https://www.netlify.com/docs/continuous-deployment/#deploy-contexts +# https://www.netlify.com/blog/2017/04/11/netlify-plus-hugo-0.20-and-beyond/ |