Commits

Israel Saeta Pérez committed 9768faf

Add html template for documents.

Comments (0)

Files changed (1)

web/html/template.html

+<!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>