Continue testing

This commit is contained in:
2020-11-23 20:13:27 +01:00
parent 36e008f55c
commit 5ffa4c9203
5 changed files with 19 additions and 44 deletions

View File

@@ -3,7 +3,7 @@
{% include structure/head.html %}
<body>
<body data-spy="scroll" data-target="#on-this-site">
{% include bars/nav.html %}

View File

@@ -10,8 +10,10 @@ layout: default
{% include components/lecture-meta.html %}
</div>
{{ content }}
<script type="text/javascript">
$(document).ready(function() {/*
var tpl =
@@ -31,10 +33,9 @@ layout: default
var tplDrop =
"<li class='nav-item dropdown mb-1'>\
<a class='dropdown-toggle nav-link' data-toggle='dropdown' href='#'>[menuItem]\
<span class='caret'></span></a>\
<ul class='dropdown-menu subHeader[MenuId]'></ul>\
</li>";
var tplSub = "<li><a class='nav-link mb-1' href='#[idx]'>[name]</a></li>";
var tplSub = "<li><a class='nav-link mb-1 dropdown-item' href='#[idx]'>[name]</a></li>";
$("h2, h3").each(function(idx, h2) {
if (h2.tagName == "H2") {