diff --git a/IPython/nbconvert/templates/html_full.tpl b/IPython/nbconvert/templates/html_full.tpl
index 626399b..cfc4516 100644
--- a/IPython/nbconvert/templates/html_full.tpl
+++ b/IPython/nbconvert/templates/html_full.tpl
@@ -5,8 +5,10 @@
-
-[{{nb.metadata.name}}]
+
+
+{{resources['metadata']['name']}}
+
{% for css in resources.inlining.css -%}
diff --git a/IPython/nbconvert/templates/slides_reveal.tpl b/IPython/nbconvert/templates/slides_reveal.tpl
index adb329a..0534bff 100644
--- a/IPython/nbconvert/templates/slides_reveal.tpl
+++ b/IPython/nbconvert/templates/slides_reveal.tpl
@@ -7,11 +7,13 @@
-
+
+{{resources['metadata']['name']}} slides
+
@@ -37,53 +39,53 @@ document.write( '
/* Overrides of notebook CSS for static HTML export */
html {
-overflow-y: auto;
+ overflow-y: auto;
}
.reveal {
-font-size: 20px;
+ font-size: 20px;
}
.reveal pre {
-width: 95%;
-padding: 0.4em;
-margin: 0px;
-font-family: monospace, sans-serif;
-font-size: 80%;
-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
+ width: 95%;
+ padding: 0.4em;
+ margin: 0px;
+ font-family: monospace, sans-serif;
+ font-size: 80%;
+ box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}
.reveal section img {
-border: 0px solid black;
-box-shadow: 0 0 10px rgba(0, 0, 0, 0);
+ border: 0px solid black;
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0);
}
.reveal .slides {
-text-align: left;
+ text-align: left;
}
.reveal.fade {
-opacity: 1;
+ opacity: 1;
}
div.input_area {
-padding: 0.06em;
+ padding: 0.06em;
}
div.code_cell {
-background-color: transparent;
+ background-color: transparent;
}
div.prompt {
-width: 11ex;
-padding: 0.4em;
-margin: 0px;
-font-family: monospace, sans-serif;
-font-size: 80%;
-text-align: right;
+ width: 11ex;
+ padding: 0.4em;
+ margin: 0px;
+ font-family: monospace, sans-serif;
+ font-size: 80%;
+ text-align: right;
}
div.output_area pre {
-font-family: monospace, sans-serif;
-font-size: 80%;
+ font-family: monospace, sans-serif;
+ font-size: 80%;
}
div.output_prompt {
- /* 5px right shift to account for margin in parent container */
- margin: 5px 5px 0 0;
+ /* 5px right shift to account for margin in parent container */
+ margin: 5px 5px 0 0;
}
.rendered_html p {
-text-align: inherit;
+ text-align: inherit;
}
@@ -129,14 +131,14 @@ dependencies: [
@@ -145,7 +147,7 @@ MathJax.Hub.Config({
// We wait for the onload function to load MathJax after the page is completely loaded.
// MathJax is loaded 1 unit of time after the page is ready.
// This hack prevent problems when you load multiple js files.
-//
+
window.onload = function () {
setTimeout(function () {
var script = document.createElement("script");