forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.html
More file actions
22 lines (20 loc) · 834 Bytes
/
sidebar.html
File metadata and controls
22 lines (20 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!-- product > category > maptopic > article -->
<div class="sidebar d-none d-lg-block">
<div class="d-flex flex-items-center p-4 position-sticky top-0 sidebar-background-color" style="z-index: 3;" id="github-logo" role="banner">
<a href="/{{ currentLanguage }}" class="color-text-inverse" aria-hidden="true" tabindex="-1">
{% octicon "mark-github" height="32" %}
</a>
<a href="/{{ currentLanguage }}" class="h4-mktg color-text-inverse no-underline no-wrap pl-2 flex-auto">{% data ui.header.github_docs %}</a>
</div>
<nav>
{% if error == '404' or page.relativePath == 'index.md' %}
<ul class="sidebar-products mt-4">
{% include sidebar-homepage %}
</ul>
{% else %}
<ul class="sidebar-products">
{% include sidebar-specific-product %}
</ul>
{% endif %}
</nav>
</div>