mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-04 20:18:57 +00:00
9473758efd
Ideally the TOC has an h2 after the article title h1, but because of the TOC sticky positioning and its placement in the grid, we cant use an h2 without messing up the heading order. Bug: T301051 Change-Id: I462ddfb618ddd422c9f71293280d1790c4846f50
19 lines
681 B
Plaintext
19 lines
681 B
Plaintext
<nav id="mw-panel-toc" class="sidebar-toc" role="navigation" aria-labelledby="sidebar-toc-label" data-event-name="ui.sidebar-toc">
|
|
<div id="sidebar-toc-label" class="sidebar-toc-header">
|
|
<p class="sidebar-toc-title">{{ msg-vector-toc-heading }}</p>
|
|
</div>
|
|
<ul class="sidebar-toc-contents">
|
|
{{#is-vector-toc-beginning-enabled}}
|
|
<li id="toc-mw-content-text"
|
|
class="sidebar-toc-list-item sidebar-toc-level-1">
|
|
<a href="#top-page" class="sidebar-toc-link">
|
|
<div class="sidebar-toc-text">{{ msg-vector-toc-beginning }}</div>
|
|
</a>
|
|
</li>
|
|
{{/is-vector-toc-beginning-enabled}}
|
|
{{#array-sections}}
|
|
{{>TableOfContents__line}}
|
|
{{/array-sections}}
|
|
</ul>
|
|
</nav>
|