From 9fbb3a66766a3c2f3ba32e72170487fb79c75a4c Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Thu, 9 Jan 2025 22:10:40 +0100 Subject: [PATCH] Bump KaTeX to latest version (#2168) --- 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 b1470a357..1b1665150 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 a9b2d32c4..1ca9aedd2 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" -}} -