You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<script src="paged.js/paged.polyfill.js"></script>
<script src="plugins/marginNotes.js" type="text/javascript"></script>
<link href="paged.js/pagedjs.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="print_style.css">
</head>
<body>
<section class="toc">
<h1>Contents</h1>
<ul>
{% for title in titles %}
{% if loop.index > 0 %}
<li class="toc-title"><a href="#section-{{ loop.index + 1 }}">{{ title }}</a></li>
{% endif %}
{% endfor %}
</ul>
</section>
<div id="contenteo">
<section class="section" id="start-matter"></section>
{{ content[0] }}
</section>
{% for section in content %}
{% if loop.index > 1 %}
<!-- <section class="header-page" id="{{ titles[loop.index] }}">
<h1>{{ titles[loop.index - 1] }}</h1>
</section> -->
<section id="section-{{ loop.index + 1 }}" class="section">
{{ section }}
</section>
{% endif %}
{% endfor %}
</div>
</div>
</body>
</html>