mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 04:16:13 +00:00
netlify: Hugo 0.94.2
This commit is contained in:
2 files changed
+7
-7
No files matched your search
@@ -29,7 +29,7 @@ The hook kinds currently supported are:
|
|||||||
|
|
||||||
You can define [Output-Format-](/templates/output-formats) and [language-](/content-management/multilingual/)specific templates if needed. Your `layouts` folder may look like this:
|
You can define [Output-Format-](/templates/output-formats) and [language-](/content-management/multilingual/)specific templates if needed. Your `layouts` folder may look like this:
|
||||||
|
|
||||||
```bash
|
```goat { class="black f7" }
|
||||||
layouts
|
layouts
|
||||||
└── _default
|
└── _default
|
||||||
└── _markup
|
└── _markup
|
||||||
@@ -138,7 +138,7 @@ The rendered html will be
|
|||||||
|
|
||||||
You can add a hook template for either all code blocks or for a specific type/language (`bash` in the example below):
|
You can add a hook template for either all code blocks or for a specific type/language (`bash` in the example below):
|
||||||
|
|
||||||
```bash
|
```goat { class="black f7" }
|
||||||
layouts
|
layouts
|
||||||
└── _default
|
└── _default
|
||||||
└── _markup
|
└── _markup
|
||||||
|
|||||||
+5
-5
@@ -3,28 +3,28 @@ publish = "public"
|
|||||||
command = "hugo --gc --minify"
|
command = "hugo --gc --minify"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
HUGO_VERSION = "0.94.1"
|
HUGO_VERSION = "0.94.2"
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"{
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
||||||
[context.split1]
|
[context.split1]
|
||||||
command = "hugo --gc --minify --enableGitInfo"
|
command = "hugo --gc --minify --enableGitInfo"
|
||||||
|
|
||||||
[context.split1.environment]
|
[context.split1.environment]
|
||||||
HUGO_VERSION = "0.94.1"
|
HUGO_VERSION = "0.94.2"
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"
|
||||||
|
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
|
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
[context.deploy-preview.environment]
|
[context.deploy-preview.environment]
|
||||||
HUGO_VERSION = "0.94.1"
|
HUGO_VERSION = "0.94.2"
|
||||||
|
|
||||||
[context.branch-deploy]
|
[context.branch-deploy]
|
||||||
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
[context.branch-deploy.environment]
|
[context.branch-deploy.environment]
|
||||||
HUGO_VERSION = "0.94.1"
|
HUGO_VERSION = "0.94.2"
|
||||||
|
|
||||||
[context.next.environment]
|
[context.next.environment]
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|||||||
Reference in new issue
Block a user