Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
Make mathjax optional (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixb authored and calintat committed Feb 24, 2018
1 parent 8c38052 commit ce05d48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@
{{ end }}
</head>

{{ if .Site.Params.MathJax | default true }}
<!-- adds MathJax support -->
<script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
</script>
{{ end }}

<body>
{{ partial "body-open" . }}
Expand Down

0 comments on commit ce05d48

Please sign in to comment.