diff --git a/netlify.toml b/netlify.toml index ff41fb71d..6e2104660 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,13 +1,7 @@ [build] +command = "hugo --source website --gc --minify" publish = "website/public" [build.environment] -BUILD_COMMAND = "hugo --source website --gc --minify" HUGO_VERSION = "0.95.0" NODE_VERSION = "16.13.2" - -[context.production] -command = "$BUILD_COMMAND --baseURL $URL" - -[context.deploy-preview] -command = "$BUILD_COMMAND --baseURL $DEPLOY_PRIME_URL" diff --git a/website/config.toml b/website/config.toml index 5bb1644ef..795df4ed1 100644 --- a/website/config.toml +++ b/website/config.toml @@ -56,7 +56,7 @@ resampleFilter = "CatmullRom" [services] [services.googleAnalytics] # Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback]. -id = "UA-141692582-2" +id = "G-F7TDNSY952" [markup] [markup.goldmark] diff --git a/website/layouts/partials/hooks/head-end.html b/website/layouts/partials/hooks/head-end.html index 0bb0ba583..982c21fc8 100644 --- a/website/layouts/partials/hooks/head-end.html +++ b/website/layouts/partials/hooks/head-end.html @@ -12,7 +12,7 @@ {{ if ne $latest_version $current_version }} {{ $latest_doc := partial "doc_latest_version.html" . }} {{ if ne $latest_doc $latest_version }} - + {{ end }} {{ end }} {{ end }}