script updates

main
Stephen Kerr 2 years ago
parent f9f7aa8779
commit 4a1acfc760

File diff suppressed because it is too large Load Diff

@ -8,28 +8,29 @@
<link rel="stylesheet" type="text/css" href="print_style.css"> <link rel="stylesheet" type="text/css" href="print_style.css">
</head> </head>
<body> <body>
<section class="section" id="start-matter"></section> <div id="contenteo">
{{ content[0] }} <section class="section" id="start-matter"></section>
</section> {{ content[0] }}
<section class="toc"> </section>
<h2>Contents</h2> <section class="toc">
<ul> <h2>Contents</h2>
{% for title in titles %} <ul>
<li class="toc-title"><a href="#{{ title }}">{{ title }}</a></li> {% for title in titles %}
{% endfor %} <li class="toc-title"><a href="#{{ title }}">{{ title }}</a></li>
</ul> {% endfor %}
</section> </ul>
<div id="contenteo"></div> </section>
{% for section in content %} {% for section in content %}
{% if loop.index > 1 %} {% if loop.index > 1 %}
<section class="section" id="{{ titles[loop.index] }}"> <section class="header-page" id="{{ titles[loop.index] }}">
<h1>{{ titles[loop.index] }}</h1> <h1>{{ titles[loop.index - 1] }}</h1>
</section> </section>
<section class="section" id="{{ titles[loop.index] }}"> <section class="section">
{{ section }} {{ section }}
</section> </section>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div>
</div> </div>
</body> </body>
</html> </html>

@ -19,7 +19,8 @@ wheel-doc
wheel-manual wheel-manual
oracle oracle
fiction_friction fiction_friction
worry_dolls worry-dolls
bibliography bibliography
license license
colophon colophon
colophon2
Loading…
Cancel
Save