forked from chadev/chadev.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sponsors.html
46 lines (36 loc) · 1.05 KB
/
sponsors.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
---
layout: default
title: Sponsors
---
{% for partner in site.data.partners %}
<section class="dev-profile">
{% if partner.urls %}
{% for url in partner.urls %}
{% if url.name == "website" %}
<a class="avatar" href="{{ url.url }}">
{% endif %}
{% endfor %}
{% else %}
<a class="avatar" href="{{ partner.website }}">
{% endif %}
<img src="/assets/images/sponsor_logos/{{ partner.logo }}" class="profile-gravatar">
<h2>{{ partner.name }}</h2>
</a>
</section>
{% endfor %}
{% for sponsor in site.data.sponsors %}
<section class="dev-profile">
{% if sponsor.urls %}
{% for url in sponsor.urls %}
{% if url.name == "website" %}
<a class="avatar" href="{{ url.url }}">
{% endif %}
{% endfor %}
{% else %}
<a class="avatar" href="{{ sponsor.website }}">
{% endif %}
<img src="/assets/images/sponsor_logos/{{ sponsor.logo }}" class="profile-gravatar">
<h2>{{ sponsor.name }}</h2>
</a>
</section>
{% endfor %}