-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathsidebar.html
More file actions
28 lines (26 loc) · 960 Bytes
/
sidebar.html
File metadata and controls
28 lines (26 loc) · 960 Bytes
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
<nav class="sidebar hide-for-medium-down">
<div class="sidebar-inner">
<h1><a href="/" class="logo"><img src="{{ base_url }}/static/img/svg/logo.svg" width="128px" height="41px" alt="Deis"></a></h1>
<ul class="current sidebar-main">
{%- include "nav.html" %}
<li class="toctree-l1">
{% if READTHEDOCS %}
<a class="reference internal" href="../" state="open">Versions</a>
<ul class="current">
{% for slug, url in versions %}
<li class="toctree-l2"><a href="{{ url }}{%- for word in pagename.split('/') -%}
{%- if word != 'index' -%}
{%- if word != '' -%}
{{ word }}/
{%- endif -%}
{%- endif -%}
{%- endfor -%}"
title="Switch to {{ slug }}">{{ slug }}</a></li>
{% endfor %}
</ul>
{% endif %}
</li>
</ul>
</div>
<div class="sidebar-bg"></div>
</nav>