hgbook

diff plastex-theme/default-layout.html @ 904:af7b5bbfcbd9

Add default plasTeX theme template. Remove obsolete example.
author dukebody <dukebody@gmail.com>
date Mon Oct 26 16:44:44 2009 +0100 (2009-10-26)
parents
children 17dd7df51f86
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/plastex-theme/default-layout.html	Mon Oct 26 16:44:44 2009 +0100
     1.3 @@ -0,0 +1,66 @@
     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 tal:content="self/title">Book Title</title>
     1.8 +    <meta name="generator" content="plasTeX" />
     1.9 +    <meta content="text/html; charset=${config/files/output-encoding}" 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">
    1.27 +        <tal:booktitle replace="self/title" />
    1.28 +        <div class="authors">by 
    1.29 +          <tal:author tal:content="self/author">
    1.30 +            Author
    1.31 +          </tal:author>
    1.32 +        </div>
    1.33 +      </h2>
    1.34 +    </div>
    1.35 +
    1.36 +    <div class="chapter" id="{% doc_id %}">
    1.37 +      
    1.38 +      <div class="file_contents" tal:content="self">File contents.</div>
    1.39 +      
    1.40 +      <div id="footnotes" tal:condition="self/footnotes">
    1.41 +        <p><b>Footnotes</b></p>
    1.42 +        <ol>
    1.43 +          <li tal:repeat="footnote self/footnotes" 
    1.44 +              tal:content="footnote" 
    1.45 +              tal:attributes="id footnote/id">footnote text</li>
    1.46 +        </ol>
    1.47 +      </div>
    1.48 +
    1.49 +    </div>
    1.50 +
    1.51 +
    1.52 +      <div class="hgbookfooter"> <p><img src="/support/icons/rss.png"> Want to stay
    1.53 +	  up to date? Subscribe to the comment feed for the 
    1.54 +          <a class="feed"
    1.55 +	     href="/feeds/comments/">entire book</a>.</p> 
    1.56 +        <p>Icons by
    1.57 +	  <a href="mailto:mattahan@gmail.com">Paul Davey</a> aka <a
    1.58 +	  href="http://mattahan.deviantart.com/">Mattahan</a>.</p>
    1.59 +      </div>
    1.60 +
    1.61 +  </body>
    1.62 +
    1.63 +  <script language="javascript" src="icons/imgadjust.js"
    1.64 +	  type="text/javascript">
    1.65 +  </script>
    1.66 +  <script type="text/javascript" src="/support/javascript/hsbook.js">
    1.67 +  </script>
    1.68 +
    1.69 +</html>