forked from mbraak/jqTree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (45 loc) · 1.52 KB
/
index.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
layout: frontpage
js: documentation.js
css: documentation.css
---
<div class="row">
<div class="col-md-3">
<div class="bs-sidebar hidden-print" id="menu" role="complementary">
<a href="#jqtree"><h2>jqTree</h2></a>
<ul class="nav bs-sidenav">
{% assign level = 0 %}
{% for entry in site.entries %}
{% if entry.section %}
{% if level == 1 %}
</ul>
</li>
{% endif %}
<li>
<a href="#{{ entry.name }}">{{ entry.title }}</a>
<ul class="nav">
{% assign level = 1 %}
{% else %}
<li><a href="#{{ entry.name }}">{{ entry.title }}</a></li>
{% endif %}
{% endfor %}
{% if level == 1 %}
</ul>
</li>
{% endif %}
</ul>
</div>
</div>
<div class="col-md-9" id="main">
{% for entry in site.entries %}
{% if entry.hide_title %}
<div id="{{ entry.name }}"></div>
{% elsif entry.section %}
<h3 id="{{ entry.name }}">{{ entry.title }}</h3>
{% else %}
<h4 id="{{ entry.name }}">{{ entry.title }}</h4>
{% endif %}
{{ entry.output }}
{% endfor %}
</div>
</div>