From 098767e76632c1a82efd7eec21fc710165ffbee2 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Wed, 29 Nov 2023 22:13:59 -0800 Subject: [PATCH] Use static.danilafe.com to host KaTeX CSS/Fonts, and make that configurable. Signed-off-by: Danila Fedorin --- config.toml | 2 ++ layouts/partials/head.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 config.toml diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..f9ef390 --- /dev/null +++ b/config.toml @@ -0,0 +1,2 @@ +[params] +katexCssUrl = "https://static.danilafe.com/katex/katex.min.css" diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d4f821e..8edbe6a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -12,7 +12,7 @@ - + {{ range .AlternativeOutputFormats -}} {{ end -}}