full.tpl
69 lines
| 1.1 KiB
| application/vnd.groove-tool-template
|
SmartyLexer
Thomas Kluyver
|
r14047 | {%- extends 'basic.tpl' -%} | ||
damianavila
|
r14154 | {% from 'mathjax.tpl' import mathjax %} | ||
Matthias BUSSONNIER
|
r8997 | |||
damianavila
|
r11770 | |||
{%- block header -%} | ||||
<!DOCTYPE html> | ||||
Matthias BUSSONNIER
|
r8997 | <html> | ||
<head> | ||||
damianavila
|
r12889 | |||
damianavila
|
r12890 | <meta charset="utf-8" /> | ||
damianavila
|
r12891 | <title>{{resources['metadata']['name']}}</title> | ||
damianavila
|
r12889 | |||
Matthias BUSSONNIER
|
r9490 | {% for css in resources.inlining.css -%} | ||
damianavila
|
r11770 | <style type="text/css"> | ||
{{ css }} | ||||
</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 { | ||||
Matthias BUSSONNIER
|
r10817 | padding: 0.2em; | ||
} | ||||
pre { | ||||
damianavila
|
r12889 | padding: 0.2em; | ||
border: none; | ||||
margin: 0px; | ||||
font-size: 13px; | ||||
damianavila
|
r9563 | } | ||
Jonathan Frederic
|
r15370 | |||
@media print { | ||||
div.cell { | ||||
display: block; | ||||
page-break-inside: avoid; | ||||
} | ||||
div.output_wrapper { | ||||
display: block; | ||||
page-break-inside: avoid; | ||||
} | ||||
div.output { | ||||
display: block; | ||||
page-break-inside: avoid; | ||||
} | ||||
} | ||||
damianavila
|
r9563 | </style> | ||
damianavila
|
r11247 | <!-- Custom stylesheet, it must be in the same directory as the html file --> | ||
<link rel="stylesheet" href="custom.css"> | ||||
damianavila
|
r14150 | <!-- Loading mathjax macro --> | ||
damianavila
|
r14151 | {{ mathjax() }} | ||
damianavila
|
r14150 | |||
Matthias BUSSONNIER
|
r8997 | </head> | ||
{%- endblock header -%} | ||||
{% block body %} | ||||
damianavila
|
r11770 | <body> | ||
{{ super() }} | ||||
Matthias BUSSONNIER
|
r9039 | </body> | ||
{%- endblock body %} | ||||
Matthias BUSSONNIER
|
r8997 | |||
{% block footer %} | ||||
damianavila
|
r11770 | </html> | ||
Thomas Kluyver
|
r14047 | {% endblock footer %} | ||