netlify: Hugo 0.94.2

This commit is contained in:
Bjørn Erik Pedersen
2022-03-12 13:45:59 +01:00
parent 1682c7ee7f
commit 7aa072eab9
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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:
```bash
```goat { class="black f7" }
layouts
└── _default
└── _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):
```bash
```goat { class="black f7" }
layouts
└── _default
└── _markup
+5 -5
View File
@@ -3,28 +3,28 @@ publish = "public"
command = "hugo --gc --minify"
[context.production.environment]
HUGO_VERSION = "0.94.1"
HUGO_ENV = "production"
HUGO_VERSION = "0.94.2"
HUGO_ENV = "production"{
HUGO_ENABLEGITINFO = "true"
[context.split1]
command = "hugo --gc --minify --enableGitInfo"
[context.split1.environment]
HUGO_VERSION = "0.94.1"
HUGO_VERSION = "0.94.2"
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.94.1"
HUGO_VERSION = "0.94.2"
[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.94.1"
HUGO_VERSION = "0.94.2"
[context.next.environment]
HUGO_ENABLEGITINFO = "true"