From 0f27b0a56d069d38998934df9b0c41b8a18c68d7 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Sat, 17 Jan 2026 00:00:27 +0800 Subject: perf: use instantpage.js to improve page speed Former-commit-id: e52bd5a9c99c5e769f039e794572e028619ba53e --- layouts/_partials/scripts.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'layouts/_partials/scripts.html') diff --git a/layouts/_partials/scripts.html b/layouts/_partials/scripts.html index b1e9aa2e..878ac01e 100644 --- a/layouts/_partials/scripts.html +++ b/layouts/_partials/scripts.html @@ -1,8 +1,17 @@ {{ with resources.Get "js/tooltip.js" }} + {{ end }} +{{ if not .IsHome }} {{ with resources.Get "js/inject-footnotes.js" }} + + +{{ end }} +{{ end }} + +{{ with resources.Get "js/instantpage.js" }} + {{ end }} -- cgit v1.2.3