full.tpl
71 lines
| 1.3 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 | |||
Jonathan Frederic
|
r15731 | <script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | ||||
Jonathan Frederic
|
r15727 | |||
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; | ||||
} | ||||
Jonathan Frederic
|
r15370 | |||
Jonathan Frederic
|
r15722 | div#notebook { | ||
overflow: visible; | ||||
border-top: none; | ||||
} | ||||
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> | ||
Jonathan Frederic
|
r15725 | <div tabindex="-1" id="notebook" class="border-box-sizing"> | ||
<div class="container" id="notebook-container"> | ||||
damianavila
|
r11770 | {{ super() }} | ||
Jonathan Frederic
|
r15713 | </div> | ||
</div> | ||||
Matthias BUSSONNIER
|
r9039 | </body> | ||
{%- endblock body %} | ||||
Matthias BUSSONNIER
|
r8997 | |||
{% block footer %} | ||||
damianavila
|
r11770 | </html> | ||
Thomas Kluyver
|
r14047 | {% endblock footer %} | ||