binario/layouts/partials/mathjax.html

3 lines
283 B
HTML
Raw Permalink Normal View History

2018-05-27 11:59:18 +00:00
{{ if and .IsPage (eq (.Param "mathjax") true) }}
2019-08-23 15:51:05 +00:00
<script src="{{ .Param "mathjaxPath" | default "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.6/MathJax.js" }}{{ with .Param "mathjaxConfig" | default "TeX-AMS-MML_HTMLorMML" }}?config={{ . }}{{ end }}" async></script>
2018-05-27 11:59:18 +00:00
{{ end }}