github.com/mweagle/Sparta@v1.15.0/docs_source/themes/hugo-theme-learn/netlify.toml (about) 1 [build] 2 publish = "exampleSite/public" 3 command = "hugo -s exampleSite" 4 5 [build.environment] 6 HUGO_THEME = "repo" 7 HUGO_THEMESDIR = "/opt/build" 8 HUGO_VERSION = "0.63.2" 9 10 [context.production.environment] 11 HUGO_BASEURL = "https://learn.netlify.com/" 12 13 [context.deploy-preview] 14 command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL" 15 16 [context.deploy-preview.environment] 17 HUGO_ENABLEGITINFO = "true" 18 19 [context.branch-deplpy] 20 command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL" 21 22 [context.branch-deploy.environment] 23 HUGO_ENABLEGITINFO = "true" 24