Fix build warnings: update PaperMod, drop the dead UA property
Build and deploy the poweronoff.click hugo / build (push) Successful in 42s
Build and deploy the poweronoff.click hugo / build (push) Successful in 42s
Hugo 0.158+ deprecated .Language.LanguageDirection and .Language.LanguageCode. Both were used only by the theme (baseof.html, rss.xml, opengraph.html) and are already fixed upstream, so bump PaperMod v8.0-139 -> v8.0-152 instead of patching the submodule. Other changes in that range are theme improvements (focus handling for in-page anchors, throttled scroll handlers, ISO date titles); no site behaviour regressions in the generated HTML. Universal Analytics (UA-179789773-1) stopped collecting data in 2023 and made Hugo warn on every build. Analytics is now disabled with a comment showing how to enable GA4; the dead gtag.js snippet is no longer shipped to visitors. make check: 0 warnings, 0 errors.
This commit is contained in:
1 parent
c378349cff
commit
d59b91c4bd
3 files changed
+11
-10
No files matched your search
+4
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user