From 070ca2eb3c21fe098da1f0d059bc3e6f0b64b16c Mon Sep 17 00:00:00 2001 From: tdro Date: Sat, 24 Feb 2024 18:33:47 -0500 Subject: assets/css: Namespace MathML Normalise. Generated math should not have inline styles --- themes/default/layouts/partials/head-css.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'themes/default/layouts') diff --git a/themes/default/layouts/partials/head-css.html b/themes/default/layouts/partials/head-css.html index 423db0c..6e9eb56 100644 --- a/themes/default/layouts/partials/head-css.html +++ b/themes/default/layouts/partials/head-css.html @@ -2,12 +2,15 @@ {{- $syntax := resources.Get "css/default-syntax.css" -}} {{- $simple := resources.Get "css/default-simple.css" -}} {{- $fast := resources.Get "css/default-fast.css" -}} +{{- $math := resources.Get "css/default-mathml.css" -}} {{- $css := - slice $default $syntax | - resources.Concat "css/bundle.css" | - resources.Minify | - fingerprint | + slice + $default + $syntax + | resources.Concat "css/bundle.css" + | resources.Minify + | fingerprint -}} {{ if .Site.Params.site.production }} @@ -17,5 +20,7 @@ {{ end }} + + -- cgit v1.2.3