From 52cc4461e8be48e830e4bd93cc2b94ff46f385b0 Mon Sep 17 00:00:00 2001 From: Pablo Marcos Date: Wed, 9 Feb 2022 17:37:32 +0100 Subject: [PATCH] Fixes LaTeX support Makes scripts fully local and only loads them if math:true. Adds support for 18462\latex18462 or even $\latex$ --- layouts/partials/header.html | 1 - layouts/partials/math.html | 20 ++++++++++++++++---- layouts/partials/scripts.html | 3 --- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 1f0d9ff..1f73dc2 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -8,7 +8,6 @@ - diff --git a/layouts/partials/math.html b/layouts/partials/math.html index fdf0e5a..fc146d0 100644 --- a/layouts/partials/math.html +++ b/layouts/partials/math.html @@ -1,5 +1,17 @@ - - - + + + diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index b585348..f4d92d9 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -5,6 +5,3 @@ - - -