Skip to content

Commit

Permalink
Upgrade to Hugo 0.139.4 and stop using GAnalytics.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dukebody authored and ifosch committed Dec 14, 2024
1 parent e91fcfd commit db24978
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -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!"
}

Expand Down
2 changes: 0 additions & 2 deletions themes/pybcn_theme/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .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 }}

0 comments on commit db24978

Please sign in to comment.