aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-01-29 09:26:04 +0100
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-01-29 09:26:04 +0100
commitef2cccc1eb0bc3ac53bb8fc0f42c447e996ce388 (patch)
treee80ce7c8793059351682befa30d420eaa3ff6c40
parentd8f997768e14012e603906b683514b5d78e7df88 (diff)
Removed useless mathjax
-rw-r--r--README.md3
-rw-r--r--layouts/partials/head/styles.html8
2 files changed, 0 insertions, 11 deletions
diff --git a/README.md b/README.md
index 3dc577e..7a80488 100644
--- a/README.md
+++ b/README.md
@@ -6,11 +6,8 @@
- [ ] Cleanup articles
- [ ] Move to drafts
-- [ ] SEO
-- [ ] Page speed insights
- [ ] Table of content: `tableOfContents: true`
- [ ] Multi parts series
-- [ ] Alternative to heavy mathjax
## Guidelines
diff --git a/layouts/partials/head/styles.html b/layouts/partials/head/styles.html
index 6f6c5b0..aa7f75a 100644
--- a/layouts/partials/head/styles.html
+++ b/layouts/partials/head/styles.html
@@ -3,14 +3,6 @@
{{- $main := resources.Get "css/main.css" -}}
{{- $styles := slice $reset $main | resources.Concat "css/bundle.css" -}}
-{{/* MathJax */}}
-<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML" defer></script>
-<script type="text/x-mathjax-config">
-document.addEventListener('DOMContentLoaded', function () {
- MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ['\\(','\\)']] } });
-});
-</script>
-
{{/* Output */}}
{{- if eq hugo.Environment "development" -}}
<link rel="stylesheet" href="{{ $styles.Permalink | absURL }}" />