feature: build slide index

This commit is contained in:
Prof. Dr. Matthias Jung DL9MJ
2025-06-24 22:04:42 +02:00
committed by Tim Grelka
parent 42cfe5407d
commit fe7d0f722a
2 changed files with 20 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
<h1>Folien: {{ book["title"] }}</h1>
<p>{{ book["abstract"] }}</p>
<div class="chapter-toc d-grid gap-2">
{% for chapter in book["chapters"] %}
<a class="btn btn-outline-primary btn-labeled" href="{{ book["edition"] }}_slide_{{ chapter["ident"] }}.html">
<span class="btn-label">{{loop.index}}</span>{{ chapter["title"]}}
</a>
{% endfor %}
</div>