-
Notifications
You must be signed in to change notification settings - Fork 0
/
awards.html
68 lines (64 loc) · 1.74 KB
/
awards.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
67
68
---
layout: "browsing/card-list"
title: awards
body-tag-class: awards
last_updated: "July 9, 2024"
seo:
type: CollectionPage
regenerate: true
---
{%- for each_award in site.awards -%}
{%- capture awardee_url -%}
{%- if each_award.awardee.url -%}
{{- each_award.awardee.url -}}
{%- else -%}
{%- link {{ each_award.awardee.path }} -%}
{%- endif -%}
{%- endcapture -%}
{%- capture proof_url -%}
{%- if each_award.proof.url -%}
{{- each_award.proof.url -}}
{%- else -%}
{%- link {{ each_award.proof.path }} -%}
{%- endif -%}
{%- endcapture -%}
<div
class="card-container"
id="{{ each_award.award.hash }}"
>
<div class="award-closeup">
{%- include icon.html
which="award"
color=each_award.award.color
-%}
</div>
<div class="card">
<p class="preheader balance-text">
{{- each_award.award.category -}}
</p>
<h2
class="balance-text"
>
<a
class="not-blue"
href="{{ proof_url }}"
>
{{- each_award.award.title -}}
</a>
</h2>
<h3
class="thin balance-text"
>
{{- each_award.award.position -}}
</h3>
<h4
class="balance-text"
>
<a href="{{ awardee_url }}">
{{- each_award.awardee.title -}}
</a>
</h4>
{{ each_award.content | markdownify }}
</div>
</div>
{%- endfor -%}