Do not show toc for empty header, e.g. admonition

This commit is contained in:
Daniel Siepmann 2019-12-13 16:41:49 +01:00
parent 2ce9f792d6
commit 1c632f6a09

View file

@ -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}">