From 1b844f1230a03983bf027a321eb77bb908f469ea Mon Sep 17 00:00:00 2001 From: eltrac Date: Tue, 10 Feb 2026 13:40:03 +0800 Subject: refactor: use custom render hook - remove inject-footnotes.js, use a partial that receives `.Content` and does the injection statically - use a `utils/render` partial, as custom "render hook" - reuse `content` partial for all pages --- layouts/_partials/scripts.html | 1 - 1 file changed, 1 deletion(-) (limited to 'layouts/_partials/scripts.html') diff --git a/layouts/_partials/scripts.html b/layouts/_partials/scripts.html index 718d7477..6ad03632 100644 --- a/layouts/_partials/scripts.html +++ b/layouts/_partials/scripts.html @@ -10,7 +10,6 @@ {{ if not .IsHome }} {{ $articleJS := slice (resources.Get "js/toc.js") - (resources.Get "js/inject-footnotes.js") (resources.Get "js/back2top.js") (resources.Get "js/fediform.js") }} -- cgit v1.2.3