-
Notifications
You must be signed in to change notification settings - Fork 7
/
past-collaborations.html
65 lines (56 loc) · 1.65 KB
/
past-collaborations.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
61
62
63
64
65
---
layout: default
class: projects-page mobile-dark-header
title: Projects
---
{% for project in site.projects %}
{% unless project.browsable == false %}
{% if project.featured %}
{% assign featured_project = project %}
{% endif %}
{% endunless %}
{% endfor %}
{% assign image_url = featured_project.image | prepend: site.baseurl %}
{% include heroes/captioned_hero.html
label = 'Feature'
title = featured_project.title
image = image_url
caption = featured_project.caption
url = featured_project.url
alt = featured_project.alt
%}
{% assign projects = '' | split: '' %}
{% assign n_projects = 0 %}
{% assign all_projects = site.projects | sort: 'title' %}
{% for project in all_projects %}
{% unless project.funded or project.layout == 'archive' or project.browsable == false %}
{% assign n_projects = n_projects | plus: 1 %}
{% assign projects = projects | push: project %}
{% endunless %}
{% endfor %}
<script>
var projects = [
{%- for item in projects %}
{% include json/jsonify_item.html item=item %}
{%- endfor %}
];
</script>
<div class='center-column'>
<div class='project-filters'>
<select id='categories' aria-label='filter categories'>
<option value='ALL'>All Types</option>
</select>
<select id='tags' aria-label='filter tags'>
<option value='ALL'>All Topics</option>
</select>
</div>
<div class='projects-container' role='main' id='dhlab-projects'></div>
{% assign items = site.projects | where: 'layout', 'archive' %}
<h3>Digital Projects @ Yale</h3>
<hr>
{% include grids/archive_grid.html
items = items
render = 'json'
filters = false
%}
</div>