prevent double call of _cleanup, which harms usefiles (and is a bad idea in general)
[PyX.git] / www / examples.pt
blobc48585b1852e3690a4c96c7bf60ada482016be9c
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2             "http://www.w3.org/TR/html4/strict.dtd">
3 <html metal:use-macro="options/maintemplate/macros/page">
5   <div metal:fill-slot="body">
7     <div class="examplenavigations">
8       <a class="examplenavigation" tal:attributes="href python: options['mkrellink'](options['prev'], options)">prev</a>
9       <a class="examplenavigation" href="../index.html">up</a>
10       <a class="examplenavigation" tal:attributes="href python: options['mkrellink'](options['next'], options)">next</a>
11     </div>
12     <h1>PyX — Examples: <tal:block content="options/title"/></h1>
14     <tal:block tal:content="structure options/text"/>
16     <div class="exampleseparator" tal:condition="options/text"></div>
17     <h2>Example overview for this section</h2>
18     <span class="example" tal:repeat="example options/examples">
19       <div class="exampleseparator" tal:condition="not: repeat/example/start"></div>
20       <div class="examplethumbnail">
21         <a tal:attributes="href example/html"><img tal:attributes="alt example/png; src example/thumbpng; width example/thumbwidth; height example/thumbheight" border=0></a>
22       </div>
23       <a tal:attributes="href example/html"><h3 tal:content="example/title">title</h3></a>
24       <tal:block content="structure example/shorttext"/>
25       <tal:block condition="python: example.shorttext != example.text">
26         <a tal:attributes="href example/html" tal:condition="example/shorttext">more&nbsp;...</a>
27         <tal:block content="structure string:</p>" condition="example/shorttext"/>
28       </tal:block>
29     </span>
30     <div style="clear: both;"></div>
32   </div>
34 </html>
35 <!-- vim:set syntax=html: -->