This repository was archived by the owner on Oct 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathnav_docs.html
More file actions
58 lines (57 loc) · 1.9 KB
/
nav_docs.html
File metadata and controls
58 lines (57 loc) · 1.9 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<div class="nav-docs">
<!-- Docs Nav -->
{% for section in site.data.nav_docs %}
<div class="nav-docs-section">
<h3>{{ section.title }}</h3>
<ul>
{% for item in section.items %}
<li>
{% if item.under_construction %}
<img style="float:left; width: 16px; margin-right: 5px" src="/react/img/under_construction.png"/>
{% endif %}
{% if item.href %}
<a href="{{ item.href }}"
{% else %}
<a href="/{{ item.id }}.html"
{% endif %}
{% if page.id == item.id %} class="active"{% endif %}>
{{ item.title }}
</a>
{% if item.subitems %}
<ul>
{% for subitem in item.subitems %}
<li>
{% if subitem.under_construction %}
<img style="float:left; width: 16px; margin-right: 5px" src="/react/img/under_construction.png"/>
{% endif %}
{% if subitem.href %}
<a href="{{ subitem.href }}"
{% else %}
<a href="/{{ subitem.id }}.html"
{% endif %}
{% if page.id == subitem.id %} class="active"{% endif %}>
{{ subitem.title }}
</a>
</li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
</div>
{% endfor %}
<!-- Tips Nav -->
{% for section in site.data.nav_tips %}
<div class="nav-docs-section">
<h3>{{ section.title }}</h3>
<ul>
{% for item in section.items %}
<li>
<a href="/react/tips/{{ item.id }}.html"{% if page.id == item.id %} class="active"{% endif %}>{{ item.title }}</a>
</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</div>