-
Notifications
You must be signed in to change notification settings - Fork 64
/
sidebar.html
26 lines (25 loc) · 1013 Bytes
/
sidebar.html
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
<div class="sidebar">
<div class="container sidebar-sticky">
<div class="sidebar-about">
<a href="{{ site.github.url }}">
<img alt="Zipkin logo" src="{{ site.github.url }}/public/img/logo_png/zipkin_vertical_grey_gb.png"
class="sidebar-logo">
</a>
{% for link in site.data.sidebar_links %}
<a href="{{ link.url }}" target="_blank" title="{{ link.text }}">
<img class="sidebar-social-icon" alt="{{ link.text }}" src="{{ site.github.url }}/public/img/{{ link.img }}">
</a>
{% endfor %}
</div>
<nav class="sidebar-nav">
{% assign pages_list = site.pages | sort:"weight" %}
{% for node in pages_list %}
{% if node.title != null %}
{% if node.layout == "page" %}
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url | prepend: site.github.url }}">{{ node.title }}</a>
{% endif %}
{% endif %}
{% endfor %}
</nav>
</div>
</div>