# HG changeset patch
# User dukebody <dukebody@gmail.com>
# Date 1256571884 -3600
# Node ID af7b5bbfcbd9e51554fe3c919ac4667473b6df5d
# Parent  bc4ce1a80d40e8bf2a7749ef3403d1382e3c60d2
Add default plasTeX theme template. Remove obsolete example.

diff -r bc4ce1a80d40 -r af7b5bbfcbd9 plastex-theme/default-layout.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/plastex-theme/default-layout.html	Mon Oct 26 16:44:44 2009 +0100
@@ -0,0 +1,66 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+  <head>
+    <title tal:content="self/title">Book Title</title>
+    <meta name="generator" content="plasTeX" />
+    <meta content="text/html; charset=${config/files/output-encoding}" http-equiv="content-type" />
+
+    <link rel="stylesheet" href="styles/styles.css"/>
+    <link rel="stylesheet" href="/support/styles/styles.css"/>
+
+    <link rel="alternate" type="application/atom+xml" title="Comments"
+          href="/feeds/comments/"/>
+    <link rel="shortcut icon" type="image/png"
+          href="/support/figs/favicon.png"/>
+
+    <script type="text/javascript" src="/support/javascript/jquery.js"></script>
+    <script type="text/javascript" src="/support/javascript/form-min.js"></script>
+
+  </head>
+
+  <body>
+
+    <div class="navheader"><h2 class="booktitle">
+        <tal:booktitle replace="self/title" />
+        <div class="authors">by 
+          <tal:author tal:content="self/author">
+            Author
+          </tal:author>
+        </div>
+      </h2>
+    </div>
+
+    <div class="chapter" id="{% doc_id %}">
+      
+      <div class="file_contents" tal:content="self">File contents.</div>
+      
+      <div id="footnotes" tal:condition="self/footnotes">
+        <p><b>Footnotes</b></p>
+        <ol>
+          <li tal:repeat="footnote self/footnotes" 
+              tal:content="footnote" 
+              tal:attributes="id footnote/id">footnote text</li>
+        </ol>
+      </div>
+
+    </div>
+
+
+      <div class="hgbookfooter"> <p><img src="/support/icons/rss.png"> Want to stay
+	  up to date? Subscribe to the comment feed for the 
+          <a class="feed"
+	     href="/feeds/comments/">entire book</a>.</p> 
+        <p>Icons by
+	  <a href="mailto:mattahan@gmail.com">Paul Davey</a> aka <a
+	  href="http://mattahan.deviantart.com/">Mattahan</a>.</p>
+      </div>
+
+  </body>
+
+  <script language="javascript" src="icons/imgadjust.js"
+	  type="text/javascript">
+  </script>
+  <script type="text/javascript" src="/support/javascript/hsbook.js">
+  </script>
+
+</html>
diff -r bc4ce1a80d40 -r af7b5bbfcbd9 web/html/template.html
--- a/web/html/template.html	Mon Oct 26 16:12:39 2009 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-  <head>
-    <title>{% book_title %}</title>
-    <meta name="generator" content="plasTeX" />
-    <meta content="text/html; charset=utf-8" http-equiv="content-type" />
-
-    <link rel="stylesheet" href="styles/styles.css"/>
-    <link rel="stylesheet" href="/support/styles/styles.css"/>
-
-    <link rel="alternate" type="application/atom+xml" title="Comments"
-          href="/feeds/comments/"/>
-    <link rel="shortcut icon" type="image/png"
-          href="/support/figs/favicon.png"/>
-
-    <script type="text/javascript" src="/support/javascript/jquery.js"></script>
-    <script type="text/javascript" src="/support/javascript/form-min.js"></script>
-
-  </head>
-
-  <body>
-
-    <div class="navheader"><h2 class="booktitle">{% book_title %}
-        <div class="authors">by {% author %}</div>
-      </h2>
-    </div>
-
-    <div class="chapter" id="{% doc_id %}">
-
-      {% document_contents %}
-
-    </div>
-
-    <div class="hgbookfooter"> <p><img src="/support/icons/rss.png"> Want to stay
-	up to date? Subscribe to the comment feed for the 
-        <a class="feed"
-	   href="/feeds/comments/">entire book</a>.</p> 
-      <p>Icons by
-	<a href="mailto:mattahan@gmail.com">Paul Davey</a> aka 
-        <a href="http://mattahan.deviantart.com/">Mattahan</a>.</p>
-    </div>
-
-    </div>
-  </body>
-
-  <script language="javascript" src="icons/imgadjust.js"
-	  type="text/javascript">
-  </script>
-  <script type="text/javascript" src="/support/javascript/hsbook.js">
-  </script>
-
-</html>