Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 850c714

Browse files
committedApr 24, 2015
jinjify bootstrap3
1 parent a7e4e96 commit 850c714

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎nikola/data/themes/bootstrap3-jinja/templates/base_helper.tmpl

+5-2
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ lang="{{ lang }}">
5555
<link rel="next" href="{{ nextlink }}" type="text/html">
5656
{% endif %}
5757

58-
{{ mathjax_config }}
5958
{% if use_cdn %}
6059
<!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
6160
{% else %}
6261
<!--[if lt IE 9]><script src="{{ url_replacer(permalink, '/assets/js/html5.js', lang) }}"></script><![endif]-->
6362
{% 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>
6565
{{ extra_head_data }}
6666
{% endmacro %}
6767

@@ -90,6 +90,9 @@ lang="{{ lang }}">
9090
<script src="/assets/js/colorbox-i18n/jquery.colorbox-{{ colorbox_locales[lang] }}.js"></script>
9191
{% endif %}
9292
{{ social_buttons_code }}
93+
<script>
94+
renderMathInElement(document.body);
95+
</script>
9396
{% endmacro %}
9497

9598

0 commit comments

Comments
 (0)
Please sign in to comment.