Do not show toc for empty header, e.g. admonition
This commit is contained in:
parent
2ce9f792d6
commit
1c632f6a09
1 changed files with 5 additions and 3 deletions
|
@ -58,9 +58,11 @@
|
|||
</li>
|
||||
<f:alias map="{contentSections: pageSections.0.content}">
|
||||
<f:for each="{contentSections}" as="contentEntry">
|
||||
<f:if condition="{contentEntry.data.header}">
|
||||
<li>
|
||||
<a href="#c{contentEntry.data.uid}">{contentEntry.data.header}</a>
|
||||
</li>
|
||||
</f:if>
|
||||
</f:for>
|
||||
</f:alias>
|
||||
<f:if condition="{acknowledgements}">
|
||||
|
|
Loading…
Reference in a new issue