blob: a5b27e5f4d2a0a4023a27becaf390d2df165d11b (
plain)
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
|
{% include 'partials/head' %}
{% include 'partials/flash' %}
<section class="index main">
{% for pair in resources %}
{% assign name = pair[0] %}
{% assign resource = pair[1] %}
{% assign spec = resource.spec %}
<section class="resource-category {{name}}">
<header>
<h2>{{name | capitalize}}</h2>
</header>
<ul class="resource-list">
{% for data in resource.data %}
<li><a href="{{resource.type}}/{{data.id}}/">{{data.id}}</a></li>
{% endfor %}
</ul>
<footer>
<a class="add-new" href="{{resource.type}}/new/">+</a>
</footer>
</section>
{% endfor %}
</section>
{% include 'partials/tail' %}
|