-
Notifications
You must be signed in to change notification settings - Fork 0
/
tocpage.html
42 lines (40 loc) · 2.09 KB
/
tocpage.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
---
type: frontmatter
search: exclude
---
<!-- new page -->
<div id="navig">
<h1>Table of Contents</h1>
{% include custom/conditions.html %}
<ul id="mysidebar" class="nav">
{% for entry in sidebar %}
{% for subcategory in entry.subcategories %}
{% if subcategory.audience contains audience and subcategory.product contains product and subcategory.platform contains platform and subcategory.version contains version and subcategory.output contains "pdf" and subcategory.type != "frontmatter" %}
<li class="sectionHead">{{ subcategory.title }}
<ul>
{% for item in subcategory.items %}
{% if item.audience contains audience and item.product contains product and item.platform contains platform and item.version contains version and item.output contains "pdf" and item.type != "frontmatter"%}
<li><a href="{{item.url | prepend: site.baseurl}}">{{item.title}}</a>
{% for thirdlevel in item.thirdlevel %}
{% if thirdlevel.audience contains audience and thirdlevel.platform contains platform and thirdlevel.product contains product and thirdlevel.version contains version and thirdlevel.output contains "pdf" and thirdlevel.type != "frontmatter" %}
<li class="sectionHead">{{ thirdlevel.title }}
<ul>
{% for deeplevel in thirdlevel.thirdlevelitems%}
{% if deeplevel.audience contains audience and deeplevel.product contains product and deeplevel.platform contains platform and deeplevel.version contains version and deeplevel.output contains "pdf" and deeplevel.type != "frontmatter"%}
<li><a href="{{deeplevel.url | prepend: site.baseurl}}">{{deeplevel.title}}</a></li>
{% endif %}
{% endfor %}
</ul>
</li>
{% endif %}
{% endfor %}
</li>
{% endif %}
{% endfor %}
</ul>
</li>
{% endif %}
{% endfor %}
{% endfor %}
</ul>
</div>