-
Notifications
You must be signed in to change notification settings - Fork 6
/
documents.html
35 lines (35 loc) · 1.35 KB
/
documents.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
---
layout: default
title: Documents
---
{% assign text = site.data.content %}
<div id="documents">
<div class="grid">
<div class="grid-cell">
<h1>{{ text["Documents"] }}</h1>
</div>
</div>
<div class="grid documents">
{% for document in site.data.docs %}<div class="grid-cell document half">
<div class="grid-cell title">
<h2>{{ document.titleLine1 }}{% if document.titleLine2 %}<br>{{ document.titleLine2 }}{% endif %}</h2>
</div>
{% if document.description %}<div class="grid-cell description">
<p>{{ document.description }}</p>
</div>{% endif %}
<div class="grid-cell download">
<div class="cta">
<a href="{{ document.url }}" target="_blank">{{ document.button }}</a>
</div>
</div>
{% if document.translations %}
<div class="grid-cell">
<h4>{{ text["Translations"] }}:</h4>
</div>
<div class="grid grid-cell translations">
{% for lang in document.translations %}{% assign tongue = lang[0] %}<a class="grid-cell language" href="{{ lang[1] }}" target="_blank">{{ site.language_names[tongue] }}</a>
{% endfor %}
</div>{% endif %}
</div>{% endfor %}
</div>
</div>