From 38f1359064d9ed1cb0be69d53f3c601aa3e2694f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 23 Dec 2021 11:13:57 +0100 Subject: [PATCH] netlify: Bump to Hugo 0.91.1 Also remove the usage of getenv in the example site. --- exampleSite/layouts/partials/hook_head_end.html | 12 ------------ .../layouts/partials/hook_left_sidebar_end.html | 7 ------- netlify.toml | 6 +++--- 3 files changed, 3 insertions(+), 22 deletions(-) diff --git a/exampleSite/layouts/partials/hook_head_end.html b/exampleSite/layouts/partials/hook_head_end.html index 56fe097..e69de29 100644 --- a/exampleSite/layouts/partials/hook_head_end.html +++ b/exampleSite/layouts/partials/hook_head_end.html @@ -1,12 +0,0 @@ -{{ with getenv "ADD_GA" }} - -{{ end }} \ No newline at end of file diff --git a/exampleSite/layouts/partials/hook_left_sidebar_end.html b/exampleSite/layouts/partials/hook_left_sidebar_end.html index 3fa7a7b..e69de29 100644 --- a/exampleSite/layouts/partials/hook_left_sidebar_end.html +++ b/exampleSite/layouts/partials/hook_left_sidebar_end.html @@ -1,7 +0,0 @@ -{{ if getenv "REPOSITORY_URL" -}} -
- - - -
-{{ end }} diff --git a/netlify.toml b/netlify.toml index 7135ef7..8a79964 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,18 +3,18 @@ publish = "exampleSite/public" command = "hugo --gc -s exampleSite --minify" [context.production.environment] -HUGO_VERSION = "0.88.1" +HUGO_VERSION = "0.91.1" [context.deploy-preview] command = "hugo -s exampleSite --minify -D -F -b $DEPLOY_PRIME_URL" [context.deploy-preview.environment] -HUGO_VERSION = "0.88.1" +HUGO_VERSION = "0.91.1" [context.branch-deploy] command = "hugo -s exampleSite --minify --gc -b $DEPLOY_PRIME_URL" [context.branch-deploy.environment] -HUGO_VERSION = "0.88.1" +HUGO_VERSION = "0.91.1"