forked from devgateway/www.developmentgateway.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reach.html
66 lines (53 loc) · 1.67 KB
/
reach.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
66
---
layout: page
title: Our Reach
title_summary: because everyone should have access
permalink: /reach/
weight: 3
nav_data: reach
include_map: True
---
{% assign regions = 'Africa,Asia,Europe,Americas' | split: ',' %}
{% for region in regions %}
{% assign region_name = region | slugify %}
<div id="region-{{ region_name }}" class="region-wrapper clearfix">
{% forcereducewhitespace %}
<h2 class="title">
{% if region_name == 'americas' %}The{% endif %}
{{ region | capitalize }}
</h2>
{% endforcereducewhitespace %}
{% multicols region-columns clearfix | render-as-html %}
<img src="/images/other/globe-location-{{ region_name }}.png" class="globe-image" alt="{{ region }} region">
<--colbreak-->
{% for project in site.data.projects[region_name] %}
<div id="{{ project.id }}" class="project-wrapper clearfix">
<h3 class="title">
<img class="flag" role="img" src="{{ site.url }}/images/projects/{{ project.id }}.svg" alt="Flag of {{ project.name }}">
{{ project.name }}
<span> - {{project.year}}</span>
</h3>
<div class="category">{{ project.category }}</div>
{% if project.description %}
<div class="description">
{{ project.description | markdownify }}
</div>
{% endif %}
<ul class="features">
{% for feature in project.features %}
<li>{{ feature }}</li>
{% endfor %}
</ul>
{% if project.quote %}
<blockquote class="project-quote">
{{ project.quote | markdownify }}
</blockquote>
{% endif %}
{% if project.url %}
<a class="readmore" href="{{ project.url }}">Learn more</a>
{% endif %}
</div>
{% endfor %}
{% endmulticols %}
</div>
{% endfor %}