fullhtml.tpl
58 lines
| 1.2 KiB
| application/vnd.groove-tool-template
|
SmartyLexer
Matthias BUSSONNIER
|
r8997 | {%- extends 'basichtml.tpl' -%} | ||
Matthias BUSSONNIER
|
r9406 | {%- block header -%}<!DOCTYPE html> | ||
Matthias BUSSONNIER
|
r8997 | <html> | ||
<head> | ||||
Matthias BUSSONNIER
|
r9048 | <meta charset="UTF-8"> | ||
Matthias BUSSONNIER
|
r9329 | <title>[{{nb.metadata.name}}]</title> | ||
Matthias BUSSONNIER
|
r9490 | {% for css in resources.inlining.css -%} | ||
Matthias BUSSONNIER
|
r8997 | <style type="text/css"> | ||
Matthias BUSSONNIER
|
r9048 | {{css}} | ||
Matthias BUSSONNIER
|
r8997 | </style> | ||
Matthias BUSSONNIER
|
r9048 | {% endfor %} | ||
damianavila
|
r9563 | |||
<style type="text/css"> | ||||
/* Overrides of notebook CSS for static HTML export */ | ||||
body { | ||||
overflow: visible; | ||||
padding: 8px; | ||||
} | ||||
.input_area { | ||||
padding: 0.4em; | ||||
} | ||||
</style> | ||||
Matthias BUSSONNIER
|
r8997 | <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
|
r9039 | <body>{{ super() }} | ||
</body> | ||||
{%- endblock body %} | ||||
Matthias BUSSONNIER
|
r8997 | |||
{% block footer %} | ||||
Matthias BUSSONNIER
|
r9039 | </html>{% endblock footer %} | ||