This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit 850c714
1 parent a7e4e96 commit 850c714 Copy full SHA for 850c714
File tree 1 file changed +5
-2
lines changed
nikola/data/themes/bootstrap3-jinja/templates
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -55,13 +55,13 @@ lang="{{ lang }}">
55
55
<link rel="next" href="{{ nextlink }}" type="text/html">
56
56
{% endif %}
57
57
58
- {{ mathjax_config }}
59
58
{% if use_cdn %}
60
59
<!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
61
60
{% else %}
62
61
<!--[if lt IE 9]><script src="{{ url_replacer(permalink, '/assets/js/html5.js', lang) }}"></script><![endif]-->
63
62
{% endif %}
64
-
63
+ <script src="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.2.0/katex.min.js"></script>
64
+ <script src="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.3.0/contrib/auto-render.min.js"></script>
65
65
{{ extra_head_data }}
66
66
{% endmacro %}
67
67
@@ -90,6 +90,9 @@ lang="{{ lang }}">
90
90
<script src="/assets/js/colorbox-i18n/jquery.colorbox-{{ colorbox_locales[lang] }}.js"></script>
91
91
{% endif %}
92
92
{{ social_buttons_code }}
93
+ <script>
94
+ renderMathInElement(document.body);
95
+ </script>
93
96
{% endmacro %}
94
97
95
98
You can’t perform that action at this time.
0 commit comments