Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (36 loc) · 1.46 KB
/
Copy pathindex.html
File metadata and controls
39 lines (36 loc) · 1.46 KB
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
---
title: Tutorials
excerpt: "Tutorials on a wide range of ev3dev functionality, including networking, motor control, and usage of extra hardware."
---
{% assign tutorials=site.pages | where: "category", "tutorials" | sort: "subject" | group_by: "subject" %}
{% assign col = 0 %}
<div class="row">
{% for group in tutorials %}
{% if group.name != "" %}
{% if col == 2 %}
</div>
<div class="row">
{% assign col = 0 %}
{% endif %}
{% assign col = col | plus: 1 %}
<div class="col-lg-6">
<div class="panel panel-default rounded-panel" id="group-{{ group.name | downcase | replace: ' ','-' }}">
<div class="panel-heading">{{ group.name }}</div>
<div class="panel-body">
<ul>
{% assign items = group.items | sort: "title" %}
{% for item in items %}
<li>
<a href="{{ item.url }}">{{ item.title }}</a>
{% if item.subtitle %}
({{ item.subtitle }})
{% endif %}
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>