From 0cab77ee79f81634e1c145cdb230a31d0a4e389b Mon Sep 17 00:00:00 2001 From: Eltrac Date: Mon, 31 Mar 2025 15:41:22 +0800 Subject: refactor: better encapsulation of heatmap and pagefind move initializers of both components into its own file Former-commit-id: ed628a0a4983dd0b21030b365558b514d7ac6d1f --- layouts/partials/components/heatmap.html | 33 ++++++++++++++++++++++++- layouts/partials/components/pagefind.html | 8 ++++-- layouts/partials/head/headscript.html | 41 ------------------------------- 3 files changed, 38 insertions(+), 44 deletions(-) diff --git a/layouts/partials/components/heatmap.html b/layouts/partials/components/heatmap.html index 719538a2..0152c982 100644 --- a/layouts/partials/components/heatmap.html +++ b/layouts/partials/components/heatmap.html @@ -2,7 +2,38 @@
- +