fullhtml.tpl
45 lines
| 1.0 KiB
| application/vnd.groove-tool-template
|
SmartyLexer
/ templates / fullhtml.tpl
Matthias BUSSONNIER
|
r9580 | {%- extends 'basichtml.tpl' -%} | ||
{%- block header -%} | ||||
<html> | ||||
<head> | ||||
Matthias BUSSONNIER
|
r9598 | <meta charset="UTF-8"> | ||
{% for css in inlining.css -%} | ||||
Matthias BUSSONNIER
|
r9580 | <style type="text/css"> | ||
Matthias BUSSONNIER
|
r9598 | {{css}} | ||
Matthias BUSSONNIER
|
r9580 | </style> | ||
Matthias BUSSONNIER
|
r9598 | {% endfor %} | ||
Matthias BUSSONNIER
|
r9580 | <script src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" type="text/javascript"> | ||
</script> | ||||
<script type="text/javascript"> | ||||
init_mathjax = function() { | ||||
if (window.MathJax) { | ||||
// MathJax loaded | ||||
MathJax.Hub.Config({ | ||||
tex2jax: { | ||||
inlineMath: [ ['$','$'], ["\\(","\\)"] ], | ||||
displayMath: [ ['$$','$$'], ["\\[","\\]"] ] | ||||
}, | ||||
displayAlign: 'left', // Change this to 'center' to center equations. | ||||
"HTML-CSS": { | ||||
styles: {'.MathJax_Display': {"margin": 0}} | ||||
} | ||||
}); | ||||
MathJax.Hub.Queue(["Typeset",MathJax.Hub]); | ||||
} | ||||
} | ||||
init_mathjax(); | ||||
</script> | ||||
</head> | ||||
{%- endblock header -%} | ||||
{% block body %} | ||||
Matthias BUSSONNIER
|
r9592 | <body>{{ super() }} | ||
</body> | ||||
{%- endblock body %} | ||||
Matthias BUSSONNIER
|
r9580 | |||
{% block footer %} | ||||
Matthias BUSSONNIER
|
r9592 | </html>{% endblock footer %} | ||