netlify build fix

This commit is contained in:
gurusabarish
2022-02-09 19:33:39 +05:30
parent 522dfcc07d
commit 5bd29d2582
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -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
View File
@@ -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"