diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-12-23 13:13:57 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-12-23 13:13:57 +0300 |
commit | 38f1359064d9ed1cb0be69d53f3c601aa3e2694f (patch) | |
tree | 5f41910d06bfa991bfbb872e8f214cde4ee1ba51 | |
parent | a09822eda9b66d5cab92f0d3d8d5bab7dece487e (diff) |
netlify: Bump to Hugo 0.91.1v2.0.4
Also remove the usage of getenv in the example site.
-rw-r--r-- | exampleSite/layouts/partials/hook_head_end.html | 12 | ||||
-rw-r--r-- | exampleSite/layouts/partials/hook_left_sidebar_end.html | 7 | ||||
-rw-r--r-- | 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" }} -<script> - (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ - (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), - m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) - })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); - - ga('create', 'UA-52478213-11', 'auto'); - ga('send', 'pageview'); - -</script> -{{ 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" -}} -<div style="margin-left: 20px; margin-top: 20px"> -<a href="https://www.netlify.com"> - <img src="https://www.netlify.com/img/global/badges/netlify-dark.svg"/> -</a> -</div> -{{ 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" |