From f1cad5bf3d6b5c81cfecfc4dfa66aeccb4d7faf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Thu, 7 Nov 2024 17:24:08 +0100 Subject: [PATCH] Update docs of body-end partial MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ToC is now generated by Hugo. Signed-off-by: Kévin Commaille --- layouts/partials/hooks/body-end.html | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/layouts/partials/hooks/body-end.html b/layouts/partials/hooks/body-end.html index 377470d9..a0bbb4c5 100644 --- a/layouts/partials/hooks/body-end.html +++ b/layouts/partials/hooks/body-end.html @@ -4,14 +4,9 @@ We're using it here to: - 1) include the JS that generates the table of contents. It would be better - to generate the table of contents as part of the Hugo build process, but - that doesn't work nicely with the way we want to author client-server modules - as separate files. - - 2) highlight and scroll the ToC in the sidebar to match the place we are at + 1) highlight and scroll the ToC in the sidebar to match the place we are at in the document. */}} - +