hgbook

changeset 901:9768fafa5977

Add html template for documents.
author dukebody <dukebody@gmail.com>
date Mon Oct 26 14:56:39 2009 +0100 (2009-10-26)
parents 5e63e72aed10
children ac7637606272
files web/html/template.html
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/web/html/template.html	Mon Oct 26 14:56:39 2009 +0100
     1.3 @@ -0,0 +1,52 @@
     1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     1.5 +<html>
     1.6 +  <head>
     1.7 +    <title>{% book_title %}</title>
     1.8 +    <meta name="generator" content="plasTeX" />
     1.9 +    <meta content="text/html; charset=utf-8" http-equiv="content-type" />
    1.10 +
    1.11 +    <link rel="stylesheet" href="styles/styles.css"/>
    1.12 +    <link rel="stylesheet" href="/support/styles/styles.css"/>
    1.13 +
    1.14 +    <link rel="alternate" type="application/atom+xml" title="Comments"
    1.15 +          href="/feeds/comments/"/>
    1.16 +    <link rel="shortcut icon" type="image/png"
    1.17 +          href="/support/figs/favicon.png"/>
    1.18 +
    1.19 +    <script type="text/javascript" src="/support/javascript/jquery.js"></script>
    1.20 +    <script type="text/javascript" src="/support/javascript/form-min.js"></script>
    1.21 +
    1.22 +  </head>
    1.23 +
    1.24 +  <body>
    1.25 +
    1.26 +    <div class="navheader"><h2 class="booktitle">{% book_title %}
    1.27 +        <div class="authors">by {% author %}</div>
    1.28 +      </h2>
    1.29 +    </div>
    1.30 +
    1.31 +    <div class="chapter" id="{% doc_id %}">
    1.32 +
    1.33 +
    1.34 +      {% document_contents %}
    1.35 +
    1.36 +
    1.37 +      <div class="hgbookfooter"> <p><img src="/support/icons/rss.png"> Want to stay
    1.38 +	  up to date? Subscribe to the comment feed for the 
    1.39 +          <a class="feed"
    1.40 +	     href="/feeds/comments/">entire book</a>.</p> 
    1.41 +        <p>Icons by
    1.42 +	  <a href="mailto:mattahan@gmail.com">Paul Davey</a> aka <a
    1.43 +	  href="http://mattahan.deviantart.com/">Mattahan</a>.</p>
    1.44 +      </div>
    1.45 +
    1.46 +    </div>
    1.47 +  </body>
    1.48 +
    1.49 +  <script language="javascript" src="icons/imgadjust.js"
    1.50 +	  type="text/javascript">
    1.51 +  </script>
    1.52 +  <script type="text/javascript" src="/support/javascript/hsbook.js">
    1.53 +  </script>
    1.54 +
    1.55 +</html>