Skip to content

Commit

Permalink
ToC
Browse files Browse the repository at this point in the history
  • Loading branch information
coillarach committed Oct 12, 2024
1 parent 17d5c8f commit 7168b6c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@
{% include components/header.html %}
<div class="main-content-wrap">
{% include components/breadcrumbs.html %}
{% include toc.html html=content %}
<div class="toc-container">
<details>
<summary>Table of Contents</summary>
{% include toc.html html=content h-max=2%}
</details>
</div>
<div id="main-content" class="main-content">
<main>
{% if site.heading_anchors != false %}
Expand Down

0 comments on commit 7168b6c

Please sign in to comment.