Damn you Sphinx
[jinja2.git] / docs / _templates / layout.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3   <head>
4     <title>Jinja2 Documentation</title>
5     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6     <link rel="stylesheet" href="{{ pathto('_static/style.css', 1) }}" type="text/css">
7     <link rel="stylesheet" href="{{ pathto('_static/print.css', 1) }}" type="text/css" media="print">
8     <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css">
9     {%- if builder != 'htmlhelp' %}
10     <script type="text/javascript">
11       var DOCUMENTATION_OPTIONS = {
12         URL_ROOT:   '{{ pathto("", 1) }}',
13         VERSION:    '{{ release }}'
14       };
15     </script>
16     <script type="text/javascript" src="{{ pathto('_static/jquery.js', 1) }}"></script>
17     <script type="text/javascript" src="{{ pathto('_static/interface.js', 1) }}"></script>
18     <script type="text/javascript" src="{{ pathto('_static/doctools.js', 1) }}"></script>
19     <script type="text/javascript" src="{{ pathto('_static/jinja.js', 1) }}"></script>
20     {%- endif %}
21     {%- if use_opensearch and builder != 'htmlhelp' %}
22     <link rel="search" type="application/opensearchdescription+xml"
23           title="Search within {{ docstitle }}"
24           href="{{ pathto('_static/opensearch.xml', 1) }}">
25     {%- endif %}
26     {%- if hasdoc('about') %}
27     <link rel="author" title="About these documents" href="{{ pathto('about') }}">
28     {%- endif %}
29     <link rel="contents" title="Global table of contents" href="{{ pathto('contents') }}">
30     <link rel="index" title="Global index" href="{{ pathto('genindex') }}">
31     <link rel="search" title="Search" href="{{ pathto('search') }}">
32     {%- if hasdoc('copyright') %}
33     <link rel="copyright" title="Copyright" href="{{ pathto('copyright') }}">
34     {%- endif %}
35     <link rel="top" title="{{ docstitle }}" href="{{ pathto('index') }}">
36     {%- if parents %}
37     <link rel="up" title="{{ parents[-1].title|striptags }}" href="{{ parents[-1].link|e }}">
38     {%- endif %}
39     {%- if next %}
40     <link rel="next" title="{{ next.title|striptags }}" href="{{ next.link|e }}">
41     {%- endif %}
42     {%- if prev %}
43     <link rel="prev" title="{{ prev.title|striptags }}" href="{{ prev.link|e }}">
44     {%- endif %}
45     {% block extrahead %}{% endblock %}
46   </head>
47   <body>
48     <div id="content">
49       <div class="header">
50         <h1 class="heading"><a href="{{ pathto('index') }}"
51           title="back to the documentation overview"><span>Jinja</span></a></h1>
52       </div>
53       <div class="relnav">
54         {%- if prev %}
55         <a href="{{ prev.link|e }}">&laquo; {{ prev.title }}</a> |
56         {%- endif %}
57         <a href="{{ pathto(current_page_name) if current_page_name else '#' }}">{{ title }}</a>
58         {%- if next %}
59         | <a href="{{ next.link|e }}">{{ next.title }} &raquo;</a>
60         {%- endif %}
61       </div>
62       <div id="contentwrapper">
63         {%- if display_toc %}
64         <div id="toc">
65           <h3>Table Of Contents</h3>
66           {{ toc }}
67         </div>
68         {%- endif %}
69         {% block body %}{% endblock %}
70       </div>
71     </div>
72     <div class="footer">
73       © Copyright 2010 by the <a href="http://pocoo.org/">Pocoo Team</a>,
74       documentation generated by <a href="http://sphinx.pocoo.org/">Sphinx</a>
75     </div>
76   </body>
77 </html>