summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2014-09-15 21:56:35 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2014-09-15 21:56:35 +0200
commit07394d6b3ad4cb8042183ea1ac912130eb97b741 (patch)
treeaa972baa48a97a409461c91d0da84dbe52ba01f7 /templates
parentfed68baa7cddcbb1f1ffcddeca578683d6e2e030 (diff)
Don't outsource the JS.
Diffstat (limited to 'templates')
-rw-r--r--templates/mathjax.tmpl2
-rw-r--r--templates/page.tmpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/mathjax.tmpl b/templates/mathjax.tmpl
index 6f19a60..5f8492c 100644
--- a/templates/mathjax.tmpl
+++ b/templates/mathjax.tmpl
@@ -27,7 +27,7 @@
<TMPL_IF FEEDLINKS><TMPL_VAR FEEDLINKS></TMPL_IF>
<TMPL_IF RELVCS><TMPL_VAR RELVCS></TMPL_IF>
<TMPL_IF META><TMPL_VAR META></TMPL_IF>
-<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
+<script src="/static/js/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>
</head>
<body>
<noscript>
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 5c5c0a8..b25db4e 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -9,8 +9,8 @@
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
- <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+ <script src="/static/js/html5shiv.js"></script>
+ <script src="/static/js/respond.min.js"></script>
<![endif]-->
<TMPL_IF FAVICON>
<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />