mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
26.06.2021 13bc90740288e5bc7473f4f1642db4a9bac8bfd3
feat: added a netlify.toml for demo site

Added a netlify.toml to allow the automatic creation of a demo site.
1 files added
14 ■■■■■ changed files
netlify.toml 14 ●●●●● patch | view | raw | blame | history
netlify.toml
New 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 = "*"