netlify.toml 708 B

12345678910111213141516171819202122232425262728
  1. [build]
  2. command = "hugo --gc --minify -b $URL --themesDir ../../"
  3. base = "exampleSite"
  4. publish = "exampleSite/public"
  5. [build.environment]
  6. HUGO_THEME = "repo"
  7. HUGO_VERSION = "0.74.3"
  8. HUGO_ENABLEGITINFO = "true"
  9. [context.production.environment]
  10. HUGO_ENV = "production"
  11. [context.deploy-preview]
  12. command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL --themesDir ../../"
  13. [context.branch-deploy]
  14. command = "hugo --gc --minify -b $DEPLOY_PRIME_URL --themesDir ../../"
  15. [[headers]]
  16. for = "*.webmanifest"
  17. [headers.values]
  18. Content-Type = "application/manifest+json; charset=UTF-8"
  19. [[headers]]
  20. for = "index.xml"
  21. [headers.values]
  22. Content-Type = "application/rss+xml"