aboutsummaryrefslogtreecommitdiffstats
path: root/basic/templates
diff options
context:
space:
mode:
Diffstat (limited to 'basic/templates')
-rw-r--r--basic/templates/base.html18
1 files changed, 17 insertions, 1 deletions
diff --git a/basic/templates/base.html b/basic/templates/base.html
index 861b4d7..03e2672 100644
--- a/basic/templates/base.html
+++ b/basic/templates/base.html
@@ -2,7 +2,8 @@
{%- block head %}
{{ super() }}
- <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" />
+ <link rel="stylesheet" href="{{ SITEURL }}/theme/css/rdark.css" />
+ <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" />
<link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
{%- if FEED_RSS %}<link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />{% endif -%}
<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
@@ -29,4 +30,19 @@
});
</script>
{% endif %}
+
+<!-- Using MathJax, with the delimiters $ -->
+<!-- Conflict with pygments for the .mo and .mi -->
+<script type="text/x-mathjax-config">
+ MathJax.Hub.Config({
+ "HTML-CSS": {
+ styles: {
+ ".MathJax .mo, .MathJax .mi": {color: "black ! important"}}
+ },
+ tex2jax: {inlineMath: [['$','$'], ['\\\\(','\\\\)']],processEscapes: true}
+ });
+</script>
+
+<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
+</head>
{% endblock -%}