-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
31 lines (31 loc) · 1.05 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
---
visible_projects:
- calvin_klein_just_in_time
- armig
- calvin_klein_find_your_moment
- chicca_lualdi
- logos_and_icons
- girl_to_girl
- festival_di_artisti_di_strada
- illustrations
- serapian
- centro_tao
- motion_design
- matilde
---
{% for visible_project_slug in page.visible_projects %}
{% for project in site.projects %}
{% assign project_url = project.url | remove:'/index.html' %}
{% assign project_slug = project_url | remove:'/projects/' %}
{% if project_slug == visible_project_slug %}
<div class="pure-u-1-2 pure-u-md-1-3 {{ project_slug }}">
<div class="project">
<a href="{{ project_url }}">
<span class="project-name">{% if project.thumb_name %}{{ project.thumb_name }}{% else %}{{ project.name }}{% if project.other_name %} & {{ project.other_name }}{% endif %}{% endif %}</span>
</a>
<img alt="{{ project.name }}" class="pure-img" src="{{ project_url }}/thumb.png" />
</div>
</div>
{% endif %}
{% endfor %}
{% endfor %}