forked from ev3dev/ev3dev.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
40 lines (37 loc) · 1.54 KB
/
index.html
File metadata and controls
40 lines (37 loc) · 1.54 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
40
---
title: Projects
---
<p class="lead">
This is where we keep a collection of all the projects that people are working
on using ev3dev. We invite you to click through the links below to see what
cool stuff ev3dev can do!
</p>
<div class="alert alert-info">
{% include icon.html type="info" %}
Would you like your project added to the list? We would!
<a class="alert-link" href="/docs/tutorials/adding-new-project/">Create a page and send us a pull request</a>.
</div>
<div class="row">
{% for post in site.posts %}
{% if post.categories contains "projects" %}
{% unless post.id == '/projects/2014/03/21/Example-Project' %}
{% assign num_words = 60 %}
<div class="col-sm-6 col-md-4">
<div class="thumbnail">
{% if post.youtube_video_id %}
{% assign num_words = 35 %}
<a href="{{ post.url }}">
<img src="http://img.youtube.com/vi/{{post.youtube_video_id}}/mqdefault.jpg" alt="project thumbnail image" />
</a>
{% endif %}
<div class="caption">
<h3>{{ post.title }}</h3>
<p>{{ post.excerpt | strip_html | truncatewords: num_words }}</p>
<p><a class="btn btn-primary" href="{{ post.url }}">Learn more</a></p>
</div>
</div>
</div>
{% endunless %}
{% endif %}
{% endfor %}
</div>