diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..06db190 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,15 @@ +[build] +publish = "exampleSiteMultilingual/public" +command = "cd exampleSiteMultilingual && hugo --themesDir=../.. --baseURL $URL" + +[build.environment] +HUGO_VERSION = "0.89.0" +HUGO_THEME = "repo" + +[context.deploy-preview] +command = "cd exampleSiteMultilingual && hugo --themesDir=../.. --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL" + +[[headers]] + for = "/*" + [headers.values] + Access-Control-Allow-Origin = "*" \ No newline at end of file