datat.fi/_includes/cv/volunteer.html

47 lines
1.4 KiB
HTML
Raw Permalink Normal View History

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