From 65902deec4a3a7c7edbe86a3ce6b28ca26b5944d Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Thu, 9 Jan 2025 21:19:40 +0100 Subject: [PATCH] Bump KaTeX and algolia docsearch to latest released versions --- layouts/partials/head.html | 4 ++-- layouts/partials/scripts.html | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b1470a3577..1b16651500 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -52,8 +52,8 @@ {{ define "algolia/head" -}} {{ if and .Site.Params.search (isset .Site.Params.search "algolia") -}} - {{ end -}} diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index a9b2d32c4d..1ca9aedd26 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -36,23 +36,23 @@ {{ if $needKaTeX -}} {{/* load stylesheet and scripts for KaTeX support */ -}} - + {{/* The loading of KaTeX is deferred to speed up page rendering */ -}} - {{ if $needmhchem -}} {{/* To add support for displaying chemical equations and physical units, load the mhchem extension: */ -}} - {{ end -}} {{/* To automatically render math in text elements, include the auto-render extension: */ -}} - {{ end -}} @@ -104,8 +104,8 @@ {{ partial "hooks/body-end.html" . -}} {{ define "algolia/scripts" -}} -