From db24978aae2022a48d32a1d2cdbabf3e7b416e1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Israel=20Saeta=20P=C3=A9rez?= Date: Fri, 13 Dec 2024 14:45:53 +0100 Subject: [PATCH] Upgrade to Hugo 0.139.4 and stop using GAnalytics. For some reason it fails when trying to load the Google Analytics partial with the new version. However in the last Assembly we said we want to remove Google Analytics, so removing it is the simple solution. --- bin/install | 4 ++-- themes/pybcn_theme/layouts/partials/head.html | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/install b/bin/install index 2f4ee7a2..5e6bb3b3 100755 --- a/bin/install +++ b/bin/install @@ -3,8 +3,8 @@ set -euo pipefail function install_hugo() { - echo -n "Installing Hugo 0.123.8... " - pip install hugo=="0.123.8" + echo -n "Installing Hugo 0.139.4... " + pip install hugo=="0.139.4" echo "OK!" } diff --git a/themes/pybcn_theme/layouts/partials/head.html b/themes/pybcn_theme/layouts/partials/head.html index c32a88c2..edb19585 100644 --- a/themes/pybcn_theme/layouts/partials/head.html +++ b/themes/pybcn_theme/layouts/partials/head.html @@ -24,8 +24,6 @@ {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} - {{ template "_internal/google_analytics_async.html" . }} - {{ if .Site.Params.cookie_consent_info_url }} {{ partial "cookie-consent.html" . }} {{ end }}