Merge pull request #1 from siinus/master

CR fixes
pull/62/head
Henri Helisma 4 years ago committed by GitHub
commit 45e8c1be20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      _data/mentors.yml
  2. 21
      mentors.html

@ -139,7 +139,7 @@
- name: Gregor Kaljulaid
age: 20
photo: gregor_kaljulaid_mentor.JPG
photo: gregor_kaljulaid_mentor.jpg
specialty: IT-süsteemide arendus (bakalaureus)
term: 3
teams: ['Tarkvara']

@ -43,35 +43,24 @@ title: Mentorid - Lapikud
<li>
Telefon: <a href="tel:{{ contactMethod.value }}">{{ contactMethod.value }}</a>
</li>
{% endif %}
{% if contactMethod.name == 'E-mail' %}
{% elsif contactMethod.name == 'E-mail' %}
<li>
E-mail: <a href="mailto: {{ contactMethod.value }}">{{ contactMethod.value }}</a>
</li>
{% endif %}
{% if contactMethod.name == 'Messenger' %}
{% elsif contactMethod.name == 'Messenger' %}
<li>
Messenger: <a href="{{ contactMethod.value }}">{{ contactMethod.value }}</a>
</li>
{% endif %}
{% if contactMethod.name == 'Telegram' %}
{% elsif contactMethod.name == 'Telegram' %}
<li>
Telegram: <a href="{{ contactMethod.value }}">{{ contactMethod.value }}</a>
</li>
{% endif %}
{% if contactMethod.name == 'Facebook' %}
{% elsif contactMethod.name == 'Facebook' %}
<!--<p>Facebook <a href="{{ contactMethod.value }}">{{ contactMethod.value }}</a></p>-->
<li>
<a href="{{ contactMethod.value }}">Facebook</a>
</li>
{% endif %}
{% if contactMethod.name != 'Telefon' and contactMethod.name != 'E-mail' and contactMethod.name != 'Messenger'
and contactMethod.name != 'Facebook' and contactMethod.name != 'Telegram' %}
{% else %}
<li>
{{ contactMethod.name }}: {{ contactMethod.value }}
</li>

Loading…
Cancel
Save