# HG changeset patch
# User dukebody <dukebody@gmail.com>
# Date 1256565399 -3600
# Node ID 9768fafa5977b91bebac9f07792a39207fced1aa
# Parent  5e63e72aed1080c9e1aba6948d9fb79cd7ea3c48
Add html template for documents.

diff -r 5e63e72aed10 -r 9768fafa5977 web/html/template.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/html/template.html	Mon Oct 26 14:56:39 2009 +0100
@@ -0,0 +1,52 @@
+<!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 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>