From da29dbc8bc5982bb936eda262f2d0d0bb88bf6af Mon Sep 17 00:00:00 2001 From: Christian Gick Date: Fri, 3 Apr 2026 15:25:11 +0300 Subject: [PATCH] fix: cache-busting CSS URL + named function init for map/charts CSS link now includes ?v=timestamp to bust browser cache. Map/charts use named functions instead of IIFEs (minifier safe). Co-Authored-By: Claude Opus 4.6 (1M context) --- layouts/_default/baseof.html | 2 +- layouts/shortcodes/law-charts.html | 7 ++++--- layouts/shortcodes/world-map.html | 7 ++++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 76003c5..46a4647 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -11,7 +11,7 @@ {{ partial "extend-head.html" . }} {{/* Main stylesheet with Newsreader + custom colors */}} - +
diff --git a/layouts/shortcodes/law-charts.html b/layouts/shortcodes/law-charts.html index c989dd9..d9ab691 100644 --- a/layouts/shortcodes/law-charts.html +++ b/layouts/shortcodes/law-charts.html @@ -36,8 +36,8 @@ diff --git a/layouts/shortcodes/world-map.html b/layouts/shortcodes/world-map.html index dbe5686..96183ee 100644 --- a/layouts/shortcodes/world-map.html +++ b/layouts/shortcodes/world-map.html @@ -34,9 +34,9 @@