...
|
...
|
@@ -22,6 +22,7 @@ $endif$
|
22
|
22
|
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
|
23
|
23
|
|
24
|
24
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
|
25
|
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.8.0/tocbot.css" integrity="sha256-XUbSD3m+xLW27W/mp9kMn+fI9AU2MoBkiMMSVVYWI+o=" crossorigin="anonymous">
|
25
|
26
|
<style type="text/css">code{white-space: pre;}</style>
|
26
|
27
|
$if(quotes)$
|
27
|
28
|
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
|
...
|
...
|
@@ -61,11 +62,11 @@ $endfor$
|
61
|
62
|
|
62
|
63
|
$if(toc)$
|
63
|
64
|
<div class="col-lg-3 d-none d-lg-block">
|
64
|
|
-<nav id="$idprefix$TOC" class="sticky-top vh-100 overflow-auto">
|
|
65
|
+<nav id="$idprefix$TOC" class="toc js-toc sticky-top vh-100 overflow-auto">
|
65
|
66
|
$toc$
|
66
|
67
|
</nav>
|
67
|
68
|
</div>
|
68
|
|
-<div class="col-lg-9">
|
|
69
|
+<div class="col-lg-9 js-toc-content">
|
69
|
70
|
$else$
|
70
|
71
|
<div class="col">
|
71
|
72
|
$endif$
|
...
|
...
|
@@ -101,9 +102,13 @@ $endfor$
|
101
|
102
|
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
102
|
103
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
|
103
|
104
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
|
|
105
|
+<script src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.8.0/tocbot.min.js" integrity="sha256-dJs8/kT10avd5bf3rkLb1bUpUyLjcZA7ydzzU0vyhfM=" crossorigin="anonymous"></script>
|
104
|
106
|
<script>
|
105
|
107
|
$$('table').addClass("table");
|
106
|
108
|
</script>
|
|
109
|
+<script>
|
|
110
|
+ tocbot.init();
|
|
111
|
+</script>
|
107
|
112
|
|
108
|
113
|
</body>
|
109
|
114
|
</html>
|