File: template.html

package info (click to toggle)
python-pybabel 0.9.1-9
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 6,264 kB
  • ctags: 921
  • sloc: python: 5,520; makefile: 49
file content (21 lines) | stat: -rw-r--r-- 657 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html xmlns:py="http://genshi.edgewall.org/" py:strip="">

  <title py:match="head/title">${project.get_name()}: ${select('text()')}</title>

  <!--! Add navigation and footer around content -->
  <div py:match="div[@class='document']" py:attrs="select('@*')">
    <div id="navigation">
      <span class="projinfo">${project.get_name()} ${project.get_version()}</span>
      <a href="index.html">Documentation Index</a>
    </div>
    ${select('*|text()')}
    <div id="footer">
      Visit the ${project.get_name()} open source project at
      <a href="${project.get_url()}">${project.get_url()}</a>
    </div>
  </div>

  $html

</html>