diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 793405b..be2f29c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -59,3 +59,11 @@ <!-- Extended head section--> {{ partial "extended_head.html" . }} + +<!-- MathJax support --> +{{ if .Params.mathJaxSupport }} +<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> +<script type="text/javascript" id="MathJax-script" async + src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"> +</script> +{{ end }}