ref: e5be592ee0d0a24c9bfcf4938cbda4f77e07f3d2
parent: 173aa53b8ae4bd5663d4ae4b155e4e60f56217e6
author: Peter Krautzberger <[email protected]>
date: Wed Jan 21 05:42:51 EST 2015
fix outdated MathJax CDN URL The rackspace address has been retired, see http://www.mathjax.org/changes-to-the-mathjax-cdn/
--- a/docs/content/tutorials/mathjax.md
+++ b/docs/content/tutorials/mathjax.md
@@ -21,7 +21,7 @@
The first step is to enable MathJax on pages that you would like to have typeset math. There are multiple ways to do this (adventerous readers can consult the [Loading and Configuring](http://docs.mathjax.org/en/latest/configuration.html) section of the MathJax documentation for additional methods of including MathJax), but the easiest way is to use the secure MathJax CDN by including the following HTML snippet in the source of a page:
<script type="text/javascript"
- src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
+ src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
One way to ensure that this code is included in all pages is to put it in one of the templates that live in the `layouts/partials/` directory. For example, I have included this in the bottom of my template `footer.html` because I know that the footer will be included in every page of my website.