Skip to content

Commit

Permalink
Revert "Move TOC header to TOC generation"
Browse files Browse the repository at this point in the history
This reverts commit e589dfd.
  • Loading branch information
snomos committed Sep 3, 2024
1 parent e589dfd commit 1e2ab68
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion _includes/toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@
{% endfor %}

{% if jekyll_toc != '' %}
<h2 class="tocheader">Page Content</h2>
{% assign rootAttributes = '' %}
{% if include.class and include.class != blank %}
{% capture rootAttributes %} class="{{ include.class | split: '.' | join: ' ' }}"{% endcapture %}
Expand Down
1 change: 1 addition & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repo
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
</ul>
{% endif %}
<h2 class="tocheader">Page Content</h2>
{% include toc.html html=content sanitize=true class="left_toc" id="left_toc" h_min=2 %}
</header>
<section>
Expand Down

0 comments on commit 1e2ab68

Please sign in to comment.