feature: add course index

This commit is contained in:
Prof. Dr. Matthias Jung DL9MJ
2025-06-24 22:04:12 +02:00
committed by Tim Grelka
parent 643f7e8c24
commit 44a1b737c9
4 changed files with 37 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="index.html">Home</a></li>
<li class="breadcrumb-item"><a href="{{ edition }}_course_index.html">Online-Kurs</a></li>
<li class="breadcrumb-item"><a href="{{ edition }}_course_index.html">{{ name }}</a></li>
<li class="breadcrumb-item active" aria-current="page">{{ chapter["title"] }}</li>
</ol>
</nav>
+9
View File
@@ -0,0 +1,9 @@
<h1>{{ titel }}</h1>
<p>{{ abstract }}</p>
<div class="chapter-toc d-grid gap-2">
{% for chapter in book %}
<a class="btn btn-outline-primary btn-labeled" href="{{ chapter["ident"] }}.html">
<span class="btn-label">{{loop.index}}</span>{{ chapter["title"]}}
</a>
{% endfor %}
</div>
+1 -1
View File
@@ -10,7 +10,7 @@
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="index.html">Home</a></li>
<li class="breadcrumb-item"><a href="{{ edition }}_course_index.html">Online-Kurs</a></li>
<li class="breadcrumb-item"><a href="{{ edition }}_course_index.html">{{ name }}</a></li>
<li class="breadcrumb-item"><a href="{{ edition }}_chapter_{{ chapter["ident"] }}.html">{{ chapter["title"] }}</a></li>
<li class="breadcrumb-item active" aria-current="page">{{ section["title"] }}</li>
</ol>