db2html: some cleanup and planning
[gtk-doc.git] / tools / templates / book.html
blobdf315aec28f66e758f6efb55d464946737dcf64e
1 {% from 'common.html' import doctype, head_links, navigation_main %}
2 {{ doctype() }}
3 <html>
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6 <title>{{ title }}</title>
7 {{ head_links(nav_home, nav_up, nav_prev, nav_next) }}
8 <link rel="stylesheet" href="style.css" type="text/css">
9 </head>
10 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
11 <div class="book">
12 <div class="titlepage">
13 {{ navigation_main(title) }}
14 {%- set releaseinfo=xml.find('bookinfo/releaseinfo') %}
15 {%- if releaseinfo %}
16 {{ convert_block(releaseinfo) }}
17 {%- endif %}
18 <hr>
19 </div>
20 <div class="toc">
21 <dl class="toc">
22 {%- for item in nav_home.children recursive %}
23 <dt><a href="{{ item.filename|e }}">{{ item.title }}</a>
24 {%- if item.children -%}
25 <dd><dl>{{ loop(item.children) }}</dl></dd>
26 {%- endif %}</dt>
27 {%- endfor %}
28 </dl>
29 </div>
30 </div>
31 </body>
32 </html>