1 <span metal:define-macro="navlink" tal:omit-tag="">
2 <span tal:condition="python: options['pagename'] != htmlname" tal:omit-tag="">
3 <a tal:attributes="href python: options['mkrellink'](htmlname, options)" tal:content="navname">navname</a>
5 <span tal:condition="python: options['pagename'] == htmlname" tal:omit-tag="">
6 <span tal:content="navname">navname</span>
10 <html metal:define-macro="page">
13 <meta http-equiv="content-type" content="text/html; charset=utf-8">
14 <title>PyX — Python graphics package</title>
15 <link rel="shortcut icon" type="image/x-icon" tal:attributes="href python: options['mkrellink']('pyx.ico', options)">
16 <link rel="stylesheet" type="text/css" tal:attributes="href python: options['mkrellink']('main.css', options)">
21 <div id="background"></div>
26 <a href="http://pyx.sourceforge.net/"><img alt="PyX" width=121 height=65 tal:attributes="src python: options['mkrellink']('pyxlogo.png', options)"></a>
30 <div class="title">Navigation</div>
31 <div class="link" tal:define="htmlname python: 'index.html'; navname python: 'Home'"><span metal:use-macro="options/maintemplate/macros/navlink"></span></div>
32 <div class="link" tal:define="htmlname python: 'news.html'; navname python: 'News'"><span metal:use-macro="options/maintemplate/macros/navlink"></span></div>
33 <div class="link" tal:define="htmlname python: 'roadmap.html'; navname python: 'Roadmap'"><span metal:use-macro="options/maintemplate/macros/navlink"></span></div>
34 <div class="link" tal:define="htmlname python: 'documentation.html'; navname python: 'Documentation'"><span metal:use-macro="options/maintemplate/macros/navlink"></span></div>
35 <div class="link" tal:define="htmlname python: 'examples/index.html'; navname python: 'Examples'"><span metal:use-macro="options/maintemplate/macros/navlink"></span></div>
36 <tal:block repeat="subpage options/subpages" tal:condition="python: options['pagename'].startswith('examples')">
37 <div class="sublink" tal:define="htmlname string:examples/${subpage/dir}/index.html; navname subpage/title">- <span metal:use-macro="options/maintemplate/macros/navlink"></span></div>
39 <div class="link" tal:define="htmlname python: 'license.html'; navname python: 'License'"><span metal:use-macro="options/maintemplate/macros/navlink"></span></div>
43 <div class="title">SourceForge</div>
44 <div class="link"><a href="https://sourceforge.net/projects/pyx/">Project page</a></div>
45 <div class="link"><a href="https://sourceforge.net/p/pyx/mailman/">Mailing lists</a></div>
46 <div class="link"><a href="https://sourceforge.net/p/pyx/gallery/">Gallery</a></div>
47 <div class="link"><a href="https://sourceforge.net/p/pyx/code/HEAD/tree/trunk/pyx/CHANGES">ChangeLog</a></div>
51 <div class="title">PyPI</div>
52 <div class="link"><a href="https://pypi.python.org/pypi/PyX">Project page</a></div>
53 <div class="link"><a tal:attributes="href string:https://pypi.python.org/packages/source/P/PyX/PyX-${options/version}.tar.gz">Download</a></div>
57 <div class="title">Links</div>
58 <div class="link"><a href="http://www.python.org/">Python</a></div>
59 <div class="link"><a href="http://www.tug.org/">TeX</a></div>
60 <div class="link"><a href="http://partners.adobe.com/public/developer/ps/index_specs.html">PostScript</a></div>
61 <div class="link"><a href="http://www.adobe.com/devnet/pdf/pdf_reference.html">PDF</a></div>
62 <div class="link"><a href="http://www.w3.org/TR/SVG/">SVG</a></div>
66 <a href="http://sourceforge.net/"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=45430&type=1" width=88 height=31 alt="SourceForge Logo"></a>
70 <a href="http://validator.w3.org/check/referer"><img alt="Valid HTML 4.01!" width=88 height=31 tal:attributes="src python: options['mkrellink']('valid-html401.png', options)"></a>
74 <a href="http://jigsaw.w3.org/css-validator/check/referer"><img alt="Valid CSS!" width=88 height=31 tal:attributes="src python: options['mkrellink']('vcss.png', options)"></a>
79 <div id="contentwrapper">
81 <div metal:define-slot="body">Content</div>
87 <!-- vim:set syntax=html: -->