datat.fi/_includes/cv/work.html

47 lines
1.4 KiB
HTML
Raw Normal View History

2017-03-07 23:12:17 +02:00
{% if cv.work %}
<div id="work" class="entry">
<header class="entry-header">
<h3 class="entry-title">{{ site.data.theme.t.cv_work | default: 'Work' }}</h3>
2017-03-07 23:12:17 +02:00
</header>
<div class="entry-content">
{% for w in cv.work %}
{% if w.company %}
<h3 class="name">
{% if w.website %}
<a href="{{ w.website }}">{{ w.company }}</a>
{% else %}
{{ w.company }}
{% endif %}
</h3>
{% endif %}
{% if w.position %}
<h4 class="position">{{ w.position }}</h4>
{% endif %}
<div class="date">
{% if w.startDate %}
<span class="startDate">{{ w.startDate }}</span>
{% endif %}
2017-03-17 17:56:20 +02:00
{% if w.endDate == '' %}
<span class="endDate">{{ site.data.theme.t.present | default: 'Present' | prepend: ' &mdash; ' }}</span>
2017-03-07 23:12:17 +02:00
{% else %}
2017-03-17 17:56:20 +02:00
<span class="endDate">{{ w.endDate | prepend: ' &mdash; ' }}</span>
2017-03-07 23:12:17 +02:00
{% endif %}
</div>
{% if w.summary %}
<div class="summary">
<p>{{ w.summary }}</p>
</div>
{% endif %}
{% if w.highlights %}
<ul class="highlights">
{% for highlight in w.highlights %}
<li>{{ highlight }}</li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}
</div>
</div>
2017-03-17 17:56:20 +02:00
{% endif %}