mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-24 23:04:32 -04:00
Fixed empty list in table of contents when no headline is defined
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
{% endif %}
|
||||
|
||||
<!-- Render anchors of active page -->
|
||||
{% if toc %}
|
||||
{% if toc and (toc | first) %}
|
||||
<ul>
|
||||
{% for toc_item in toc %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user