diff --git a/AGENTS.md b/AGENTS.md index e110013..c089ed1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -82,15 +82,15 @@ Datenschutz/Impressum links now come from `params.footer.text` in `config.yml`. `.well-known/` is excluded for ACME challenges. - Deploy still authenticates with a password via `sshpass`. Moving to an SSH key is a known follow-up. -- Theme deprecation warnings are upstream PaperMod noise - (`.Language.LanguageDirection`, `.Language.LanguageCode`). Do not try to fix - them in the submodule; wait for `make theme-update`. There are no other - acceptable Hugo warnings. +- The build must be warning-free. Deprecations coming from the theme are fixed + by `make theme-update`, never by editing the submodule; deprecations coming + from `config.yml` (e.g. a retired analytics ID) are fixed in the config. ## Known issues / backlog -- `googleAnalytics` in `config.yml` is a dead Universal Analytics ID; a GA4 - `G-…` property is needed before analytics works again. +- Analytics is deliberately disabled: the Universal Analytics property is dead + and no GA4 measurement ID exists yet. Add `googleAnalytics: G-XXXXXXXXXX` in + `config.yml` if tracking is wanted (cookieless consent implications aside). - `params.images` (Open Graph / Twitter cards) points at 32–60 px icons. Use a 1200×630 image so shared links render properly. - Two posts (`a-letter-to-my-younger-self`, `appreciation`) are drafts whose diff --git a/config.yml b/config.yml index 73bf9ba..12c5f87 100644 --- a/config.yml +++ b/config.yml @@ -10,9 +10,10 @@ buildFuture: false buildExpired: false enableEmoji: true -# TODO(analytics): Universal Analytics (UA-*) stopped collecting data on 2023-07-01. -# Create a GA4 property and replace this with its G-XXXXXXXXXX measurement ID (or drop the line). -googleAnalytics: UA-179789773-1 +# Analytics is off: the old Universal Analytics property (UA-179789773-1) stopped +# collecting data on 2023-07-01 and Hugo warns on every build. To enable GA4, +# create a property and uncomment the line below with its measurement ID: +# googleAnalytics: G-XXXXXXXXXX minify: disableXML: true diff --git a/themes/PaperMod b/themes/PaperMod index d376885..1181196 160000 --- a/themes/PaperMod +++ b/themes/PaperMod @@ -1 +1 @@ -Subproject commit d3768854d00ad003b0a8dbdba254ce9224377a01 +Subproject commit 118119693d8b5ac211b939775678310973bcb232