Added support for math rendering

[here](https://gohugo.io/content-management/formats/#enable-mathjax) is the Hugo docs for this. Since the footer is applied to every page, now inline math works!
This commit is contained in:
Gideon Wolfe 2019-06-15 15:09:28 -07:00 committed by GitHub
parent 02238f6e0f
commit ecdf9d7791
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,5 +14,8 @@
<script src="{{ "assets/main.js" | absURL }}"></script>
<script src="{{ "assets/prism.js" | absURL }}"></script>
<!-- Support for MathJax math rendering-->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<!-- Extended footer section-->
{{ partial "extended_footer.html" . }}