From 7e4df08766d0f4101e1ec714ddaf59830f35bdf6 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 8 May 2026 17:55:53 +0200 Subject: fix: move contribution-graph script to baseof, remove from partial Partial caching prevented Scratch-based deduplication. Script now loaded once from baseof.html; JS guard prevents double-init. Co-Authored-By: Claude Sonnet 4.6 --- layouts/partials/contribution-graph.html | 5 ----- 1 file changed, 5 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/contribution-graph.html b/layouts/partials/contribution-graph.html index dc95811..41cbc90 100644 --- a/layouts/partials/contribution-graph.html +++ b/layouts/partials/contribution-graph.html @@ -16,8 +16,3 @@ > -{{- if not ($page.Scratch.Get "contrib-graph-js-loaded") -}} - {{- $page.Scratch.Set "contrib-graph-js-loaded" true -}} - {{- $js := resources.Get "js/contribution-graph.js" | minify -}} - -{{- end -}} -- cgit v1.2.3