Merge "Don't print table of contents on page with no table of contents"

This commit is contained in:
jenkins-bot 2022-09-12 15:50:22 +00:00 committed by Gerrit Code Review
commit 8626e14ec1
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
<div class="mw-table-of-contents-container">
{{! T313060 Additional container div needed to prevent the sticky element from being siblings with the footer }}
{{#data-toc}}
<div class="vector-sticky-toc-container mw-sticky-header-element">
{{#data-toc}}{{>TableOfContents}}{{/data-toc}}
{{>TableOfContents}}
</div>
{{/data-toc}}
</div>