commit 5bd689749ae6394aeb2937f9c7292d96c975ffd5
parent 5c22e6999f069cf28d7263c8424c1c885842a05d
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Mon, 28 May 2018 18:53:33 -0500
Add MIME types for css and js scripts.
Diffstat:
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/layouts/partials/include_css.html b/layouts/partials/include_css.html
@@ -1,3 +1,3 @@
-<link rel="stylesheet" href="{{ "/css/isso.css" | relURL }}" />
-<link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" />
-<link rel="stylesheet" href="{{ "/css/fonts.css" | relURL }}" />
+<link rel="stylesheet" href="{{ "/css/isso.css" | relURL }}" type="text/css" />
+<link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" type="text/css" />
+<link rel="stylesheet" href="{{ "/css/fonts.css" | relURL }}" type="text/css" />
diff --git a/layouts/partials/include_js.html b/layouts/partials/include_js.html
@@ -1,3 +1,2 @@
-<script src="/js/math-code.js"></script>
-<script async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/config/TeX-MML-AM_CHTML.js" integrity="sha256-c2QgDYgp3LjRGqyBktDLlyWmXcfa+m356HmAebBiSS8=" crossorigin="anonymous"></script>
-<script async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js" integrity="sha256-GhM+5JHb6QUzOQPXSJLEWP7R73CbkisjzK5Eyij4U9w=" crossorigin="anonymous"></script>
+<script type="text/javascript" src="/js/math-code.js"></script>
+<script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-MML-AM_CHTML" integrity="sha256-GhM+5JHb6QUzOQPXSJLEWP7R73CbkisjzK5Eyij4U9w=" crossorigin="anonymous"></script>