-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
60 lines (51 loc) · 1.31 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
49
50
51
52
53
54
55
56
57
58
59
60
---
layout: default
title: {{ site.name }}
---
{% assign features = site.pages | where: "layout", "cuke" | sort: 'feature' %}
<div>
<h1>Cukes:</h1>
{% for feature in features %}
<ul><a href="#{{ feature.path }}">{{ feature.title }}</a> - {{ feature.feature }}
{% for scenario in feature.scenarios %}
<ul>{{ scenario }}</ul>
{% endfor %}
</ul>
{% endfor %}
</div>
<div>
{% for feature in features %}
<hr>
<h1 id="{{ feature.path }}">{{ feature.title }} - {{ feature.feature }}</h1>
{{ feature.content }}
{% endfor %}
</div>
<!--
{% comment %}
{% assign wiki_pages = site.pages | where:"category","wiki" | sort: 'section' %}
{% assign items_grouped = wiki_pages | group_by: 'section' %}
<div>
<h1>Cukes:</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>
{% endcomment %}
-->