forked from GSA/https
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.html
More file actions
19 lines (19 loc) · 631 Bytes
/
sidebar.html
File metadata and controls
19 lines (19 loc) · 631 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<aside>
<a class="skip-link visuallyhidden focusable" href="#main">Skip to Main Content</a>
<nav class="sidebar-nav" role="navigation">
<ul>
{% for link in site.navigation %}
{% assign current = '' %}
{% if page.url == link.url %}
{% assign current = 'sidebar-nav-active' %}
{% endif %}
<li class="{{ current }}">
<a href="{{ link.url }}">{{ link.text }}</a>
</li>
{% endfor %}
</ul>
</nav>
<p>
<a href="https://github.com/{{ site.org_name }}/{{ site.repo_name }}/edit/{{ site.branch }}/{{ page.path }}">Edit this page</a>
</p>
</aside>