-
-
Notifications
You must be signed in to change notification settings - Fork 141
Expand file tree
/
Copy pathtemplate.hbs
More file actions
30 lines (28 loc) · 1.15 KB
/
template.hbs
File metadata and controls
30 lines (28 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<nav class="AddonDocs-DocsViewer-CurrentPageIndex docs-hidden xl:docs-block docs-flex-no-shrink docs-mr-auto" data-test-current-page-index>
<div class="docs-sticky docs-top-0 docs-pt-4 docs-pb-8 docs-pr-8 docs-max-h-screen docs-overflow-y-scroll">
<ul class="docs-list-none docs-border-l docs-border-grey-lighter docs-pl-6 docs-leading-normal">
{{#if pageIndex.length}}
<li class="docs-mt-12 docs-text-grey docs-font-bold docs-tracking-wide docs-uppercase docs-text-xxs">
On This Page
</li>
{{/if}}
{{#each pageIndex as |item|}}
<li class="
docs-leading-tight docs-tracking-tight
{{if item.indent (concat "docs-ml-" item.indent)}}
{{if item.marginTop (concat "docs-mt-" item.marginTop)}}
{{if item.marginBottom (concat "docs-mt-" item.marginBottom)}}
"
data-test-index-item
>
<a
href="#{{item.id}}"
class="docs-text-grey-dark docs-font-semibold docs-no-underline hover:docs-underline docs-text-{{item.size}}"
>
{{item.text}}
</a>
</li>
{{/each}}
</ul>
</div>
</nav>