1
0
mirror of https://github.com/lxndrblz/anatole.git synced 2022-06-11 21:08:13 +03:00

feat: added a netlify.toml for demo site

Added a netlify.toml to allow the automatic creation of a demo site.
This commit is contained in:
Alexander Bilz
2021-12-26 13:06:37 +01:00
parent 7602d2ed71
commit 13bc907402

14
netlify.toml Normal file
View File

@@ -0,0 +1,14 @@
[build]
publish = "exampleSite/public"
command = "cd exampleSite && hugo --gc --minify --themesDir ../.."
[build.environment]
HUGO_VERSION = "0.69.0"
HUGO_ENV = "production"
HUGO_THEME = "repo"
HUGO_BASEURL = "https://anatole-demo.netlify.app"
[[headers]]
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"