Fix Learn theme addition to git
This commit is contained in:
23
themes/learn/netlify.toml
Normal file
23
themes/learn/netlify.toml
Normal file
@ -0,0 +1,23 @@
|
||||
[build]
|
||||
publish = "exampleSite/public"
|
||||
command = "hugo -s exampleSite"
|
||||
|
||||
[build.environment]
|
||||
HUGO_THEME = "repo"
|
||||
HUGO_THEMESDIR = "/opt/build"
|
||||
HUGO_VERSION = "0.72.0"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_BASEURL = "https://learn.netlify.app/"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.deploy-preview.environment]
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
||||
[context.branch-deplpy]
|
||||
command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.branch-deploy.environment]
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
Reference in New Issue
Block a user