hgbook
annotate plastex-theme/default-layout.html @ 1097:902bfd461a63
2.7.1.1 zh translated over
author | Zhaoping Sun <zhaopingsun@gmail.com> |
---|---|
date | Tue Nov 24 21:44:37 2009 -0500 (2009-11-24) |
parents | f06879de9b01 |
children |
rev | line source |
---|---|
dukebody@904 | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
dukebody@911 | 2 <html tal:define="links self/links" |
dukebody@911 | 3 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
dukebody@904 | 4 <head> |
dukebody@911 | 5 |
dukebody@904 | 6 <meta name="generator" content="plasTeX" /> |
dukebody@905 | 7 <meta http-equiv="content-type" |
dukebody@911 | 8 tal:attributes="content string:text/html;; charset=${config/files/output-encoding}" /> |
dukebody@911 | 9 |
dukebody@911 | 10 <title tal:condition="python:path('self/level') > -10" |
dukebody@911 | 11 tal:content="stripped string:${links/document/title}: ${self/title}"> |
dukebody@911 | 12 Book title |
dukebody@911 | 13 </title> |
dukebody@911 | 14 <link tal:condition="links/next" |
dukebody@911 | 15 rel="next" |
dukebody@911 | 16 tal:attributes="href links/next/url; title links/next/title/textContent" /> |
dukebody@911 | 17 <link tal:condition="links/prev" |
dukebody@911 | 18 rel="prev" |
dukebody@911 | 19 tal:attributes="href links/prev/url; title links/prev/title/textContent" /> |
dukebody@911 | 20 <link tal:condition="links/up" |
dukebody@911 | 21 rel="up" |
dukebody@911 | 22 tal:attributes="href links/up/url; title links/up/title/textContent" /> |
dukebody@904 | 23 |
dukebody@904 | 24 <link rel="stylesheet" href="styles/styles.css"/> |
dukebody@904 | 25 <link rel="stylesheet" href="/support/styles/styles.css"/> |
dukebody@904 | 26 |
dukebody@904 | 27 <link rel="alternate" type="application/atom+xml" title="Comments" |
dukebody@904 | 28 href="/feeds/comments/"/> |
dukebody@904 | 29 <link rel="shortcut icon" type="image/png" |
dukebody@904 | 30 href="/support/figs/favicon.png"/> |
dukebody@904 | 31 |
dukebody@904 | 32 <script type="text/javascript" src="/support/javascript/jquery.js"></script> |
dukebody@904 | 33 <script type="text/javascript" src="/support/javascript/form-min.js"></script> |
dukebody@904 | 34 |
dukebody@904 | 35 </head> |
dukebody@904 | 36 |
dukebody@904 | 37 <body> |
dukebody@904 | 38 |
dukebody@904 | 39 <div class="navheader"><h2 class="booktitle"> |
dukebody@911 | 40 <tal:booktitle replace="links/document/title" /> |
dukebody@904 | 41 <div class="authors">by |
dukebody@911 | 42 <tal:author tal:content="links/document/attributes/author"> |
dukebody@904 | 43 Author |
dukebody@904 | 44 </tal:author> |
dukebody@904 | 45 </div> |
dukebody@904 | 46 </h2> |
dukebody@904 | 47 </div> |
dukebody@904 | 48 |
dukebody@911 | 49 <div class="navheader" metal:define-macro="navigation"> |
dukebody@911 | 50 <table width="100%"> |
dukebody@911 | 51 <tr> |
dukebody@911 | 52 <td width="40%" align="left"> |
dukebody@911 | 53 <a tal:condition="links/prev" |
dukebody@911 | 54 tal:attributes="href links/prev/url; |
dukebody@911 | 55 title stripped:links/prev/title" |
dukebody@911 | 56 accesskey="p">Prev</a> </td> |
dukebody@911 | 57 <td width="20%" align="center"> |
dukebody@911 | 58 <a tal:condition="links/up" |
dukebody@911 | 59 tal:attributes="href links/up/url">Up</a> |
dukebody@911 | 60 </td> |
dukebody@911 | 61 <td width="40%" align="right"> |
dukebody@911 | 62 <a tal:condition="links/next" |
dukebody@911 | 63 tal:attributes="href links/next/url; |
dukebody@911 | 64 title stripped:links/next/title" |
dukebody@911 | 65 accesskey="n">Next</a> |
dukebody@911 | 66 </td> |
dukebody@911 | 67 </tr> |
dukebody@911 | 68 <tr> |
dukebody@911 | 69 <td width="40%" align="left"> |
dukebody@911 | 70 <span tal:condition="links/prev" |
dukebody@911 | 71 tal:replace="stripped:links/prev/title">Prev</span> |
dukebody@911 | 72 </td> |
dukebody@911 | 73 <td width="20%" align="center"> </td> |
dukebody@911 | 74 <td width="40%" align="right"> |
dukebody@911 | 75 <span tal:condition="links/next" |
dukebody@911 | 76 tal:replace="stripped:links/next/title">Next</span> |
dukebody@911 | 77 </td> |
dukebody@911 | 78 </tr> |
dukebody@911 | 79 </table> |
dukebody@911 | 80 </div> |
dukebody@911 | 81 |
dukebody@911 | 82 <div class="chapter" |
dukebody@911 | 83 tal:attributes="id string:${links/document/title}: ${self/title}"> |
dukebody@904 | 84 |
dukebody@904 | 85 <div class="file_contents" tal:content="self">File contents.</div> |
dukebody@904 | 86 |
dukebody@911 | 87 <div tal:condition="self/tableofcontents" |
dukebody@911 | 88 tal:attributes="class |
dukebody@911 | 89 string:contents |
dukebody@911 | 90 ${self/nodeName}-contents"> |
dukebody@911 | 91 <ul> |
dukebody@911 | 92 <li tal:repeat="section self/tableofcontents"><a href="." tal:attributes="href section/url" tal:content="section/fullTocEntry">Aliquam est. Aliquam fringilla pede</a> |
dukebody@911 | 93 <ul tal:condition="section/tableofcontents"> |
dukebody@911 | 94 <li tal:repeat="subsection section/tableofcontents"><a href="." tal:attributes="href subsection/url" tal:content="subsection/fullTocEntry"></a> |
dukebody@911 | 95 <ul tal:condition="subsection/tableofcontents"> |
dukebody@911 | 96 <li tal:repeat="subsubsection subsection/tableofcontents"><a href="." tal:attributes="href subsubsection/url" tal:content="subsubsection/fullTocEntry"></a> |
dukebody@911 | 97 <ul tal:condition="subsubsection/tableofcontents"> |
dukebody@911 | 98 <li tal:repeat="paragraph subsubsection/tableofcontents"><a href="." tal:attributes="href paragraph/url" tal:content="paragraph/fullTocEntry"></a> |
dukebody@911 | 99 <ul tal:condition="paragraph/tableofcontents"> |
dukebody@911 | 100 <li tal:repeat="subparagraph paragraph/tableofcontents"><a href="." tal:attributes="href subparagraph/url" tal:content="subparagraph/fullTocEntry"></a></li> |
dukebody@911 | 101 </ul> |
dukebody@911 | 102 </li> |
dukebody@911 | 103 </ul> |
dukebody@911 | 104 </li> |
dukebody@911 | 105 </ul> |
dukebody@911 | 106 </li> |
dukebody@911 | 107 </ul> |
dukebody@911 | 108 </li> |
dukebody@911 | 109 <li tal:replace="nothing"><a href=".">Maecenas id purus</a></li> |
dukebody@911 | 110 </ul> |
dukebody@911 | 111 </div> |
dukebody@911 | 112 |
dukebody@911 | 113 |
dukebody@904 | 114 <div id="footnotes" tal:condition="self/footnotes"> |
dukebody@904 | 115 <p><b>Footnotes</b></p> |
dukebody@904 | 116 <ol> |
dukebody@904 | 117 <li tal:repeat="footnote self/footnotes" |
dukebody@904 | 118 tal:content="footnote" |
dukebody@904 | 119 tal:attributes="id footnote/id">footnote text</li> |
dukebody@904 | 120 </ol> |
dukebody@904 | 121 </div> |
dukebody@904 | 122 |
dukebody@904 | 123 </div> |
dukebody@904 | 124 |
dukebody@915 | 125 <div class="navfooter" |
dukebody@915 | 126 metal:use-macro="template/macros/navigation" /> |
dukebody@904 | 127 |
dukebody@915 | 128 <div class="hgbookfooter"> <p><img src="/support/icons/rss.png"> Want to stay |
dukebody@915 | 129 up to date? Subscribe to the comment feed for the |
dukebody@915 | 130 <a class="feed" |
dukebody@915 | 131 href="/feeds/comments/">entire book</a>.</p> |
dukebody@915 | 132 <p>Icons by |
dukebody@915 | 133 <a href="mailto:mattahan@gmail.com">Paul Davey</a> aka |
dukebody@915 | 134 <a href="http://mattahan.deviantart.com/">Mattahan</a>.</p> |
dukebody@904 | 135 </div> |
dukebody@904 | 136 |
dukebody@904 | 137 </body> |
dukebody@904 | 138 |
dukebody@904 | 139 <script language="javascript" src="icons/imgadjust.js" |
dukebody@904 | 140 type="text/javascript"> |
dukebody@904 | 141 </script> |
dukebody@904 | 142 <script type="text/javascript" src="/support/javascript/hsbook.js"> |
dukebody@904 | 143 </script> |
dukebody@904 | 144 |
dukebody@904 | 145 </html> |