datat.fi/_includes/cv/basics.html

69 lines
2.5 KiB
HTML
Raw Permalink Normal View History

2017-03-07 23:12:17 +02:00
{% if cv.basics.summary %}
<div class="summary">
{{ cv.basics.summary | markdownify }}
</div>
{% endif %}
<div id="contact" class="entry">
<header class="entry-header">
<h3 class="entry-title">{{ site.data.theme.t.cv_summary_contact | default: 'Contact' }}</h3>
2017-03-07 23:12:17 +02:00
</header>
<div class="entry-content">
{% if cv.basics.email %}
<div class="email"><strong>{{ site.data.theme.t.cv_summary_contact_email | default: 'Email' }}</strong> <a href="mailto:{{ cv.basics.email }}">{{ cv.basics.email }}</a></div>
2017-03-07 23:12:17 +02:00
{% endif %}
{% if cv.basics.phone %}
<div class="phone"><strong>{{ site.data.theme.t.cv_summary_contact_phone | default: 'Phone' }}</strong> {{ cv.basics.phone }}</div>
2017-03-07 23:12:17 +02:00
{% endif %}
{% if cv.basics.website %}
<div class="website"><strong>{{ site.data.theme.t.cv_summary_contact_website | default: 'Website' }}</strong> <a href="{{ cv.basics.website }}">{{ cv.basics.website }}</a></div>
2017-03-07 23:12:17 +02:00
{% endif %}
{% if cv.basics.profiles %}
{% for p in cv.basics.profiles %}
<div class="item">
{% if p.network %}
<strong class="network">{{ p.network | append: ' ' }}</strong>
{% endif %}
{% if p.username %}
<span class="username">
{% unless p.url == '' or p.url == nil %}
2017-03-07 23:12:17 +02:00
<a href="{{ p.url }}">{{ p.username }}</a>
{% else %}
{{ p.username }}
{% endunless %}
2017-03-07 23:12:17 +02:00
</span>
{% endif %}
</div>
{% endfor %}
{% endif %}
</div>
</div>
{% if cv.basics.location %}
<div id="location" class="entry">
<header class="entry-header">
<h3 class="entry-title">{{ site.data.theme.t.cv_location | default: 'Location' }}</h3>
2017-03-07 23:12:17 +02:00
</header>
<div class="entry-content">
<address>
{% if cv.basics.location.address %}
<span class="address">{{ cv.basics.location.address }}</span><br />
{% endif %}
{% if cv.basics.location.city %}
<span class="city">{{ cv.basics.location.city | append: ', ' }}</span>
{% endif %}
{% if cv.basics.location.region %}
<span class="region">{{ cv.basics.location.region | append: ' ' }}</span>
{% endif %}
{% if cv.basics.location.postalCode %}
<span class="postalCode">{{ cv.basics.location.postalCode | append: ' ' }}</span>
{% endif %}
{% if cv.basics.location.countryCode %}
<span class="countryCode">{{ cv.basics.location.countryCode }}</span>
{% endif %}
</address>
</div>
</div>
{% endif %}