Skip to content

Commit

Permalink
Add checksums for MathJax JS
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 12, 2017
1 parent 5fa972e commit 71af9a8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nikola/data/themes/base-jinja/templates/index_helper.tmpl
Expand Up @@ -37,7 +37,7 @@
</script>
{% endif %}
{% else %}
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" integrity="sha256-yYfngbEKv4RENfGDvNUqJTqGFcKf31NJEe9OTnnMH3Y=" crossorigin="anonymous"></script>
{% if mathjax_config %}
{{ mathjax_config }}
{% else %}
Expand Down
2 changes: 1 addition & 1 deletion nikola/data/themes/base-jinja/templates/post_helper.tmpl
Expand Up @@ -103,7 +103,7 @@
</script>
{% endif %}
{% else %}
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" integrity="sha256-yYfngbEKv4RENfGDvNUqJTqGFcKf31NJEe9OTnnMH3Y=" crossorigin="anonymous"></script>
{% if mathjax_config %}
{{ mathjax_config }}
{% else %}
Expand Down
2 changes: 1 addition & 1 deletion nikola/data/themes/base/templates/index_helper.tmpl
Expand Up @@ -37,7 +37,7 @@
</script>
% endif
%else:
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" integrity="sha256-yYfngbEKv4RENfGDvNUqJTqGFcKf31NJEe9OTnnMH3Y=" crossorigin="anonymous"></script>
% if mathjax_config:
${mathjax_config}
% else:
Expand Down
2 changes: 1 addition & 1 deletion nikola/data/themes/base/templates/post_helper.tmpl
Expand Up @@ -103,7 +103,7 @@
</script>
% endif
%else:
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" integrity="sha256-yYfngbEKv4RENfGDvNUqJTqGFcKf31NJEe9OTnnMH3Y=" crossorigin="anonymous"></script>
% if mathjax_config:
${mathjax_config}
% else:
Expand Down

0 comments on commit 71af9a8

Please sign in to comment.