-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathstatement-content.njk
47 lines (45 loc) · 1.34 KB
/
statement-content.njk
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
---
pagination:
data: collections.companies
size: 1
alias: company
permalink: "{{ company.url }}/content/"
layout: layouts/base.njk
eleventyComputed:
title: "{{ company.data.name | capitalize }} Statements Raw Text"
---
<div class="container">
<h1>{{ company.data.name | capitalize }}
Statements Raw Text</h1>
<p>We display the raw text in case the company deletes the statements. We also welcome you to scrape our data and perform analytics on these statements.</p>
{% for statement in company.data.blm_statements %}
{% if statement.raw_text %}
<h2>{{statement.type}}
posted
{{statement.date_posted | dateReadable }}</h2>
<p class="statement">
{{statement.raw_text}}
</p>
{% endif %}
{% endfor %}
{% for statement in company.data.insurrection_statements %}
{% if statement.raw_text %}
<h2>{{statement.type}}
posted
{{statement.date_posted | dateReadable }}</h2>
<p class="statement">
{{statement.raw_text}}
</p>
{% endif %}
{% endfor %}
{% for statement in company.data.stop_asian_hate_statements %}
{% if statement.raw_text %}
<h2>{{statement.type}}
posted
{{statement.date_posted | dateReadable }}</h2>
<p class="statement">
{{statement.raw_text}}
</p>
{% endif %}
{% endfor %}
</div>