-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
31 lines (29 loc) · 784 Bytes
/
index.html
File metadata and controls
31 lines (29 loc) · 784 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
29
30
31
---
layout: default
title: {{ site.name }}
---
{% assign wiki_pages = site.pages | where:"category","wiki" | sort: 'section' %}
{% assign items_grouped = wiki_pages | group_by: 'section' %}
<div>
<h1>Usage Guide:</h1>
{% for group in items_grouped %}
<ul>{{ group.name }}
{% assign sorted_pages = group.items | sort: 'order' %}
{% for page in sorted_pages %}
<ul><a href="#{{ page.path }}">{{ page.title }}</a></ul>
{% endfor %}
</ul>
{% endfor %}
</div>
<div>
{% for group in items_grouped %}
{% assign sorted_pages = group.items | sort: 'order' %}
{% for page in sorted_pages %}
{%if page.category == "wiki" %}
<hr>
<h1 id="{{ page.path }}">{{ page.title }}</h1>
{{ page.content }}
{%endif%}
{% endfor %}
{% endfor %}
</div>