From ea845e50495d79f48315c281186a51aa486ae263 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Sat, 2 Aug 2025 09:27:40 +0800 Subject: perf: refactor render-blocking action-menu logic - put initialization script at the end of the page - delay initialization furthermore - delay comment count fetch after giscus iframe is loaded --- layouts/_partials/scripts/action-menu-js.html | 125 ++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 layouts/_partials/scripts/action-menu-js.html (limited to 'layouts/_partials/scripts') diff --git a/layouts/_partials/scripts/action-menu-js.html b/layouts/_partials/scripts/action-menu-js.html new file mode 100644 index 00000000..66673b71 --- /dev/null +++ b/layouts/_partials/scripts/action-menu-js.html @@ -0,0 +1,125 @@ +{{ $pageId := . }} + -- cgit v1.2.3