From 55c06fcdb21117d4d9552b83d98d7ff11a82ddcb 2012-08-30 15:50:27
From: Cameron Bates <cameron.r.bates@gmail.com>
Date: 2012-08-30 15:50:27
Subject: [PATCH] Update print notebook template to Jinja2

---

diff --git a/IPython/frontend/html/notebook/templates/printnotebook.html b/IPython/frontend/html/notebook/templates/printnotebook.html
index ca0a34a..84d1ff0 100644
--- a/IPython/frontend/html/notebook/templates/printnotebook.html
+++ b/IPython/frontend/html/notebook/templates/printnotebook.html
@@ -1,10 +1,10 @@
-{% extends page.html %}
+{% extends "page.html" %}
 
 {% block stylesheet %}
 
 {% if mathjax_url %}
 <script type="text/javascript" src="{{mathjax_url}}?config=TeX-AMS_HTML" charset="utf-8"></script>
-{% end %}
+{% endif %}
 <script type="text/javascript">
 // MathJax disabled, set as null to distingish from *missing* MathJax,
 // where it will be undefined, and should prompt a dialog later.
@@ -20,7 +20,7 @@ window.mathjax_url = "{{mathjax_url}}";
 <link rel="stylesheet" href="{{ static_url("css/printnotebook.css") }}" type="text/css" />
 <link rel="stylesheet" href="{{ static_url("css/renderedhtml.css") }}" type="text/css" />
 
-{% end %}
+{% endblock %}
 
 
 {% block params %}
@@ -31,11 +31,11 @@ data-base-kernel-url={{base_kernel_url}}
 data-read-only={{read_only and not logged_in}}
 data-notebook-id={{notebook_id}}
 
-{% end %}
+{% endblock %}
 
 
 {% block header %}
-{% end %}
+{% endblock %}
 
 
 {% block site %}
@@ -48,7 +48,7 @@ data-notebook-id={{notebook_id}}
 
 </div>
 
-{% end %}
+{% endblock %}
 
 
 {% block script %}
@@ -78,4 +78,4 @@ data-notebook-id={{notebook_id}}
 <script src="{{ static_url("js/notebook.js") }}" type="text/javascript" charset="utf-8"></script>
 <script src="{{ static_url("js/printnotebookmain.js") }}" type="text/javascript" charset="utf-8"></script>
 
-{% end %}
+{% endblock %}