Skip to content

Commit

Permalink
fix: Added missing </li> in the sidebar (#966)
Browse files Browse the repository at this point in the history
* Added missing `</li>` in the sidebar

* Move a `</li>` to match the level of ifs.
  • Loading branch information
toblea authored Dec 1, 2023
1 parent 9d6a2b2 commit 76bf710
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _includes/layout/sidebars/on-page-sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
</li>
{% endfor %}
</ul>
</li>
{% else %}
<li>
<a href="#{{ subsection.anchor }}">{{ subsection.title | flatify }}</a>
Expand All @@ -80,15 +81,14 @@
{% endfor %}
{% endif %}
</ul>

</li>
{% else %}
<li>
<a href="#{{ section.anchor }}">
{{ section.title | flatify }}
</a>
</li>
{% endif %}
</li>
{% endfor %}

{% if page.related %}
Expand All @@ -108,4 +108,4 @@
{% endif %}
</ul>

</div>
</div>

0 comments on commit 76bf710

Please sign in to comment.