hgbook / plastex-theme / default-layout.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html tal:define="links self/links" 
      xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>

    <meta name="generator" content="plasTeX" />
    <meta http-equiv="content-type"
          tal:attributes="content string:text/html;; charset=${config/files/output-encoding}" />

    <title tal:condition="python:path('self/level') &gt; -10"
           tal:content="stripped string:${links/document/title}: ${self/title}">
      Book title
    </title>
    <link tal:condition="links/next" 
          rel="next" 
          tal:attributes="href links/next/url; title links/next/title/textContent" />
    <link tal:condition="links/prev" 
          rel="prev" 
          tal:attributes="href links/prev/url; title links/prev/title/textContent" />
    <link tal:condition="links/up" 
          rel="up" 
          tal:attributes="href links/up/url; title links/up/title/textContent" />

    <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="links/document/title" />
        <div class="authors">by 
          <tal:author tal:content="links/document/attributes/author">
            Author
          </tal:author>
        </div>
      </h2>
    </div>

    <div class="navheader" metal:define-macro="navigation">
      <table width="100%">
        <tr>
          <td width="40%" align="left">
            <a tal:condition="links/prev"
               tal:attributes="href links/prev/url;
                               title stripped:links/prev/title"
               accesskey="p">Prev</a> </td>
          <td width="20%" align="center"> 
            <a tal:condition="links/up"
               tal:attributes="href links/up/url">Up</a>
          </td>
          <td width="40%" align="right"> 
            <a tal:condition="links/next"
               tal:attributes="href links/next/url;
                               title stripped:links/next/title"
               accesskey="n">Next</a>
          </td>
        </tr>
        <tr>
          <td width="40%" align="left">
            <span tal:condition="links/prev"
               tal:replace="stripped:links/prev/title">Prev</span>
          </td>
          <td width="20%" align="center"> </td>
          <td width="40%" align="right"> 
            <span tal:condition="links/next"
               tal:replace="stripped:links/next/title">Next</span>
          </td>
        </tr>
      </table>
    </div>

    <div class="chapter" 
         tal:attributes="id string:${links/document/title}: ${self/title}">
      
      <div class="file_contents" tal:content="self">File contents.</div>
      
      <div tal:condition="self/tableofcontents" 
           tal:attributes="class
                           string:contents
                           ${self/nodeName}-contents">
        <ul>
          <li tal:repeat="section self/tableofcontents"><a href="." tal:attributes="href section/url" tal:content="section/fullTocEntry">Aliquam est. Aliquam fringilla pede</a>
            <ul tal:condition="section/tableofcontents">
              <li tal:repeat="subsection section/tableofcontents"><a href="." tal:attributes="href subsection/url" tal:content="subsection/fullTocEntry"></a>
                <ul tal:condition="subsection/tableofcontents">
                  <li tal:repeat="subsubsection subsection/tableofcontents"><a href="." tal:attributes="href subsubsection/url" tal:content="subsubsection/fullTocEntry"></a>
                    <ul tal:condition="subsubsection/tableofcontents">
                      <li tal:repeat="paragraph subsubsection/tableofcontents"><a href="." tal:attributes="href paragraph/url" tal:content="paragraph/fullTocEntry"></a>
                        <ul tal:condition="paragraph/tableofcontents">
                          <li tal:repeat="subparagraph paragraph/tableofcontents"><a href="." tal:attributes="href subparagraph/url" tal:content="subparagraph/fullTocEntry"></a></li>
                        </ul>
                      </li>
                    </ul>
                  </li>
                </ul>
              </li>
            </ul>
          </li>
          <li tal:replace="nothing"><a href=".">Maecenas id purus</a></li>
        </ul>
      </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="navfooter"
	 metal:use-macro="template/macros/navigation" />

    <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>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.