Mostly translated into english. Page linking works. Language changing works. Fixes here and there.

This commit is contained in:
Mart-Erki.Noumees
2018-10-02 23:03:50 +03:00
parent 5da2e00009
commit 59ec2ee920
48 changed files with 988 additions and 1235 deletions

View File

@@ -1,73 +1,6 @@
---
layout: default
title: Mentorid - Lapikud
language: ee
---
<div class="page" id="mentors">
<h1>Mentorid</h1>
<h3>Siin on meie mentorid. Kui leiad kellegi, kellega huvid kattuvad, võta temaga julgelt ühendust!</h3>
{% for mentor in site.data.mentors %}
<div class="mentor">
<div class="photo-container">
<img src="{{ "/assets/mentors-images/optimised/" | append: mentor.photo }}" alt="{{ mentor.name }}">
</div>
<div class="description">
<div class="general">
<h1>{{ mentor.name }}</h1>
<p>Vanus: {{ mentor.age }}</p>
{% if mentor.specialty != null %}
<p>Eriala: {{ mentor.specialty }}</p>
{% endif %}
{% if mentor.term != null %}
<p>Kursus: {{ mentor.term }}</p>
{% endif %}
<p>Tiimid:</p>
<ul>
{% for team in mentor.teams %}
<li>{{ team }}</li>
{% endfor %}
</ul>
{% if mentor.contactMethods != null %}
<p>Kontaktid:</p>
{% endif %}
{% for contactMethod in mentor.contactMethods %}
{% if contactMethod.name == 'Telefon' %}
<p>Telefon: <a href="tel:{{ contactMethod.value }}">{{ contactMethod.value }}</a></p>
{% endif %}
{% if contactMethod.name == 'E-mail' %}
<p>E-mail: <a href="mailto: {{ contactMethod.value }}">{{ contactMethod.value }}</a></p>
{% endif %}
{% if contactMethod.name == 'Messenger' %}
<p>Messenger <a href="{{ contactMethod.value }}">{{ contactMethod.value }}</a></p>
{% endif %}
{% if contactMethod.name == 'other' %}
<p>{{ contactMethod.value }}</p>
{% endif %}
{% endfor %}
</div>
<div class="varia">
<h4>Miks peaksid valima minu enda mentoriks?</h4>
<p>{{ mentor.description }}</p>
<h4>Millega tegelen väljaspool Lapikuid?</h4>
<p>{{ mentor.activities }}</p>
</div>
</div>
</div>
{% endfor %}
</div>
{% include pages/mentors.html%}