aboutsummaryrefslogtreecommitdiff
path: root/_includes/toc.html
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-04-16 21:57:57 +0200
committerlonkaars <loek@pipeframe.xyz>2024-04-16 21:57:57 +0200
commitc171f4e5b83abdb3dd8b3ece6063a5b482ad3b6d (patch)
tree7a1a2b3a638273d38109b0a454da39614e24a2a8 /_includes/toc.html
parentdee0b16c1cdf18d205ffcb738eda0e9049396fd0 (diff)
add toc css + test html
Diffstat (limited to '_includes/toc.html')
-rw-r--r--_includes/toc.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/_includes/toc.html b/_includes/toc.html
new file mode 100644
index 0000000..311864b
--- /dev/null
+++ b/_includes/toc.html
@@ -0,0 +1,24 @@
+<div class="chapterChildren">
+ <ul>
+ <li class="stub">
+ <details open>
+ <summary><a href="#">1.</a></summary>
+ <ul>
+ <li><a href="#">1.1. a really really really long title here</a></li>
+ <li><a href="#">1.2.</a></li>
+ <li class="stub">
+ <details open>
+ <summary><a href="#">1.3.</a></summary>
+ <ul>
+ <li><a href="#">1.3.1.</a></li>
+ <li><a href="#">1.3.2.</a></li>
+ </ul>
+ </details>
+ </li>
+ <li><a href="#">1.4.</a></li>
+ </ul>
+ </details>
+ </li>
+ </ul>
+</div>
+