netlify build fix
This commit is contained in:
@@ -24,10 +24,10 @@ Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-manageme
|
|||||||
|
|
||||||
## Twitter Simple Shortcode
|
## Twitter Simple Shortcode
|
||||||
```
|
```
|
||||||
{{</* tweet user="GoHugoIO" id="1315233626070503424" */>}}
|
{{</* tweet GoHugoIO 1315233626070503424 */>}}
|
||||||
```
|
```
|
||||||
<br>
|
<br>
|
||||||
{{< tweet user="GoHugoIO" id="1315233626070503424" >}}
|
{{< tweet GoHugoIO 1315233626070503424 >}}
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -3,7 +3,7 @@ publish = "exampleSite/public"
|
|||||||
command = "cd exampleSite && hugo --gc --minify --themesDir ../.."
|
command = "cd exampleSite && hugo --gc --minify --themesDir ../.."
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
HUGO_VERSION = "0.76.5"
|
HUGO_VERSION = "0.92.0"
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
HUGO_THEME = "repo"
|
HUGO_THEME = "repo"
|
||||||
@@ -12,7 +12,7 @@ HUGO_THEME = "repo"
|
|||||||
command = "cd exampleSite && hugo --gc --minify --enableGitInfo --themesDir ../.."
|
command = "cd exampleSite && hugo --gc --minify --enableGitInfo --themesDir ../.."
|
||||||
|
|
||||||
[context.split1.environment]
|
[context.split1.environment]
|
||||||
HUGO_VERSION = "0.76.5"
|
HUGO_VERSION = "0.92.0"
|
||||||
HUGO_ENV = "production"
|
HUGO_ENV = "production"
|
||||||
HUGO_THEME = "repo"
|
HUGO_THEME = "repo"
|
||||||
|
|
||||||
@@ -20,14 +20,14 @@ HUGO_THEME = "repo"
|
|||||||
command = "cd exampleSite && hugo --gc --minify --buildFuture --themesDir ../.. -b $DEPLOY_PRIME_URL"
|
command = "cd exampleSite && hugo --gc --minify --buildFuture --themesDir ../.. -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
[context.deploy-preview.environment]
|
[context.deploy-preview.environment]
|
||||||
HUGO_VERSION = "0.76.5"
|
HUGO_VERSION = "0.92.0"
|
||||||
HUGO_THEME = "repo"
|
HUGO_THEME = "repo"
|
||||||
|
|
||||||
[context.branch-deploy]
|
[context.branch-deploy]
|
||||||
command = "cd exampleSite && hugo --gc --minify --themesDir ../.. -b $DEPLOY_PRIME_URL"
|
command = "cd exampleSite && hugo --gc --minify --themesDir ../.. -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
[context.branch-deploy.environment]
|
[context.branch-deploy.environment]
|
||||||
HUGO_VERSION = "0.76.5"
|
HUGO_VERSION = "0.92.0"
|
||||||
|
|
||||||
[context.next.environment]
|
[context.next.environment]
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|||||||
Reference in New Issue
Block a user